@atlaskit/smart-card 38.13.2 → 38.14.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 (76) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/index.js +12 -0
  3. package/dist/cjs/messages.js +0 -8
  4. package/dist/cjs/utils/analytics/analytics.js +1 -1
  5. package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +2 -0
  6. package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +9 -2
  7. package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +2 -0
  8. package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.js +9 -2
  9. package/dist/cjs/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +37 -0
  10. package/dist/cjs/view/FlexibleCard/components/elements/custom-by-status-element/index.js +36 -0
  11. package/dist/cjs/view/FlexibleCard/components/elements/index.js +15 -1
  12. package/dist/cjs/view/FlexibleCard/components/elements/owned-by-element/index.js +7 -1
  13. package/dist/cjs/view/FlexibleCard/external.js +25 -5
  14. package/dist/cjs/view/FlexibleCard/utils.js +11 -4
  15. package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +3 -11
  16. package/dist/cjs/view/InlineCard/ResolvedView/index.js +2 -4
  17. package/dist/cjs/view/LinkUrl/index.js +1 -1
  18. package/dist/es2019/index.js +1 -1
  19. package/dist/es2019/messages.js +0 -8
  20. package/dist/es2019/utils/analytics/analytics.js +1 -1
  21. package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +2 -0
  22. package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +9 -2
  23. package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +2 -0
  24. package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.js +9 -2
  25. package/dist/es2019/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +28 -0
  26. package/dist/es2019/view/FlexibleCard/components/elements/custom-by-status-element/index.js +27 -0
  27. package/dist/es2019/view/FlexibleCard/components/elements/index.js +3 -1
  28. package/dist/es2019/view/FlexibleCard/components/elements/owned-by-element/index.js +7 -1
  29. package/dist/es2019/view/FlexibleCard/external.js +13 -5
  30. package/dist/es2019/view/FlexibleCard/utils.js +9 -3
  31. package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +3 -11
  32. package/dist/es2019/view/InlineCard/ResolvedView/index.js +2 -4
  33. package/dist/es2019/view/LinkUrl/index.js +1 -1
  34. package/dist/esm/index.js +1 -1
  35. package/dist/esm/messages.js +0 -8
  36. package/dist/esm/utils/analytics/analytics.js +1 -1
  37. package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +2 -0
  38. package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +9 -2
  39. package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +2 -0
  40. package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.js +9 -2
  41. package/dist/esm/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +30 -0
  42. package/dist/esm/view/FlexibleCard/components/elements/custom-by-status-element/index.js +29 -0
  43. package/dist/esm/view/FlexibleCard/components/elements/index.js +3 -1
  44. package/dist/esm/view/FlexibleCard/components/elements/owned-by-element/index.js +7 -1
  45. package/dist/esm/view/FlexibleCard/external.js +13 -5
  46. package/dist/esm/view/FlexibleCard/utils.js +11 -4
  47. package/dist/esm/view/HoverCard/components/HoverCardComponent.js +3 -11
  48. package/dist/esm/view/InlineCard/ResolvedView/index.js +2 -4
  49. package/dist/esm/view/LinkUrl/index.js +1 -1
  50. package/dist/types/index.d.ts +1 -1
  51. package/dist/types/messages.d.ts +1 -1
  52. package/dist/types/state/flexible-ui-context/types.d.ts +1 -0
  53. package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +7 -1
  54. package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +1 -0
  55. package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +7 -1
  56. package/dist/types/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +7 -0
  57. package/dist/types/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts +9 -0
  58. package/dist/types/view/FlexibleCard/components/elements/index.d.ts +2 -0
  59. package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +5 -0
  60. package/dist/types/view/FlexibleCard/external.d.ts +4 -4
  61. package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  62. package/dist/types/view/HoverCard/types.d.ts +0 -5
  63. package/dist/types-ts4.5/index.d.ts +1 -1
  64. package/dist/types-ts4.5/messages.d.ts +1 -1
  65. package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +1 -0
  66. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +7 -1
  67. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +1 -0
  68. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +7 -1
  69. package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +7 -0
  70. package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts +9 -0
  71. package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +2 -0
  72. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +5 -0
  73. package/dist/types-ts4.5/view/FlexibleCard/external.d.ts +4 -4
  74. package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  75. package/dist/types-ts4.5/view/HoverCard/types.d.ts +0 -5
  76. package/package.json +5 -5
@@ -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' | 'more_information_about_this_work_item' | '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' | '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' | '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' | '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' | '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' | 'status_change_permission_errorIssueTermRefresh';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -250,6 +250,7 @@ export type FlexibleUiDataContext = {
250
250
  objectId?: string;
251
251
  resourceType?: string;
252
252
  tenantId?: string;
253
+ accessType?: string;
253
254
  };
254
255
  };
255
256
  export type LinkTitle = {
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import type { Prettify } from '@atlaskit/linking-common';
3
+ import { token } from '@atlaskit/tokens';
2
4
  import type { ElementProps } from '../../../elements';
3
5
  export type DateTimeType = 'created' | 'modified' | 'sent';
4
6
  export type BaseDateTimeElementProps = ElementProps & {
@@ -22,6 +24,10 @@ export type BaseDateTimeElementProps = ElementProps & {
22
24
  * Color of the text
23
25
  */
24
26
  color?: string;
27
+ /**
28
+ * Override the default font size.
29
+ */
30
+ fontSize?: Prettify<Extract<Parameters<typeof token>[0], 'font.body' | 'font.body.large' | 'font.body.small' | 'font.body.UNSAFE_small'>>;
25
31
  };
26
32
  /**
27
33
  * A base element that displays an ISO Timestamp in text.
@@ -31,6 +37,6 @@ export type BaseDateTimeElementProps = ElementProps & {
31
37
  * @see ModifiedOn
32
38
  * @see SentOn
33
39
  */
34
- declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, }: BaseDateTimeElementProps) => JSX.Element | null;
40
+ declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, fontSize, }: BaseDateTimeElementProps) => JSX.Element | null;
35
41
  export default BaseDateTimeElement;
36
42
  export declare const toDateTimeProps: (type: 'created' | 'modified' | 'sent', dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
@@ -51,6 +51,7 @@ export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof Flexibl
51
51
  objectId?: string | undefined;
52
52
  resourceType?: string | undefined;
53
53
  tenantId?: string | undefined;
54
+ accessType?: string | undefined;
54
55
  } | {
55
56
  appearance: string;
56
57
  icon?: IconType | undefined;
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { MessageDescriptor } from 'react-intl-next';
3
+ import type { Prettify } from '@atlaskit/linking-common';
4
+ import { token } from '@atlaskit/tokens';
3
5
  import type { MessageProps } from '../../../types';
4
6
  import { type ElementProps } from '../../index';
5
7
  export type BaseTextElementProps = ElementProps & {
@@ -25,6 +27,10 @@ export type BaseTextElementProps = ElementProps & {
25
27
  * Text color to override the default text color.
26
28
  */
27
29
  color?: string;
30
+ /**
31
+ * Override the default font size.
32
+ */
33
+ fontSize?: Prettify<Extract<Parameters<typeof token>[0], 'font.body' | 'font.body.large' | 'font.body.small' | 'font.body.UNSAFE_small'>>;
28
34
  };
29
35
  /**
30
36
  * A base element that displays some Text.
@@ -32,7 +38,7 @@ export type BaseTextElementProps = ElementProps & {
32
38
  * @param {TextProps} TextProps - The props necessary for the Text element.
33
39
  * @see Title
34
40
  */
35
- export declare const BaseTextElement: ({ content, maxLines, message, name, className, testId, hideFormat, color, }: BaseTextElementProps) => JSX.Element | null;
41
+ export declare const BaseTextElement: ({ content, maxLines, message, name, className, testId, hideFormat, color, fontSize, }: BaseTextElementProps) => JSX.Element | null;
36
42
  export default BaseTextElement;
37
43
  export declare const toFormattedTextProps: (descriptor: MessageDescriptor, context?: string) => Partial<BaseTextElementProps> | undefined;
38
44
  export declare const toTextProps: (content?: string) => Partial<BaseTextElementProps> | undefined;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Prettify } from '@atlaskit/linking-common';
3
+ import type { ElementProps } from '../index';
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>>>;
6
+ declare const CustomElementByAccessType: ({ className, testId, ...props }: CustomElementByAccessTypeProps) => JSX.Element | null;
7
+ export default CustomElementByAccessType;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Prettify } from '@atlaskit/linking-common';
3
+ import type { SmartLinkStatus } from '../../../../../constants';
4
+ import type { ElementProps } from '../index';
5
+ export type CustomElementProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & {
6
+ content?: string;
7
+ } & Partial<Record<SmartLinkStatus, React.ReactNode>>>;
8
+ declare const CustomByStatusElement: ({ className, testId, ...props }: CustomElementProps) => JSX.Element | null;
9
+ export default CustomByStatusElement;
@@ -56,3 +56,5 @@ export { default as Title } from './title-element';
56
56
  export { default as ViewCount } from './view-count-element';
57
57
  export { default as VoteCount } from './vote-count-element';
58
58
  export { default as AppliedToComponentsCount } from './applied-to-components-count-element';
59
+ export { default as CustomByAccessTypeElement } from './custom-by-access-type-element';
60
+ export { default as CustomByStatusElement } from './custom-by-status-element';
@@ -1,6 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { type BaseTextElementProps } from '../common';
3
3
  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;
4
9
  onRender?: (hasData: boolean) => void;
5
10
  };
6
11
  declare const OwnedByElement: (props: OwnedByElementProps) => JSX.Element | null;
@@ -27,9 +27,9 @@ type LinkIconElementProps = Prettify<Pick<React.ComponentProps<typeof LinkIcon>,
27
27
  export declare const LinkIconElement: (props?: LinkIconElementProps) => React.JSX.Element;
28
28
  export declare const LocationElement: () => React.JSX.Element;
29
29
  export declare const ModifiedByElement: () => React.JSX.Element;
30
- type ModifiedOnElementProps = Pick<React.ComponentProps<typeof ModifiedOn>, 'hideDatePrefix' | 'color' | 'onRender'>;
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'>;
32
+ 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'>;
57
+ export type TitleElementProps = Pick<React.ComponentProps<typeof Title>, 'hideTooltip' | 'maxLines' | 'target' | 'text' | 'theme' | 'size'>;
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;
@@ -79,4 +79,4 @@ export declare const FollowAction: (props: FollowActionProps) => React.JSX.Eleme
79
79
  export type PreviewActionProps = BaseActionProps;
80
80
  export declare const PreviewAction: (props: PreviewActionProps) => React.JSX.Element;
81
81
  export declare const UnresolvedAction: () => React.JSX.Element;
82
- export {};
82
+ export { CustomByAccessTypeElement, CustomByStatusElement } from './components/elements';
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type HoverCardComponentProps } from '../types';
3
3
  export declare const HOVER_CARD_SOURCE = "smartLinkPreviewHoverCard";
4
- export declare const HoverCardComponent: ({ children, url, id, canOpen, closeOnChildClick, actionOptions, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, role, label, titleId, showLabel, }: HoverCardComponentProps) => React.JSX.Element;
4
+ export declare const HoverCardComponent: ({ children, url, id, canOpen, closeOnChildClick, actionOptions, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, role, label, titleId, }: HoverCardComponentProps) => React.JSX.Element;
@@ -74,11 +74,6 @@ export interface HoverCardInternalProps {
74
74
  * Suspend hover card UI delays (fade-in, fade-out) for VR testing purposes.
75
75
  */
76
76
  noFadeDelay?: boolean;
77
- /**
78
- * A flag to determine whether to show aria-label
79
- * @deprecated remove when cleaning up FG platform_bandicoots-smart-card-disable-aria
80
- */
81
- showLabel?: boolean;
82
77
  }
83
78
  export interface HoverCardComponentProps extends HoverCardProps, HoverCardInternalProps {
84
79
  analyticsHandler?: AnalyticsHandler;
@@ -10,7 +10,7 @@ export { contentFooterClassName, metadataListClassName, blockCardResolvingViewCl
10
10
  export { loadingPlaceholderClassName } from './view/CardWithUrl/component-lazy/LazyFallback';
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
- 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';
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, CustomByAccessTypeElement, CustomByStatusElement, } from './view/FlexibleCard/external';
14
14
  export { CopyLinkAction, CustomAction, DownloadAction, FollowAction, PreviewAction, UnresolvedAction, } from './view/FlexibleCard/external';
15
15
  export type { ActionItem, ElementItem, OnActionMenuOpenChangeOptions, } from './view/FlexibleCard/components/blocks/types';
16
16
  export type { AnalyticsAction, AnalyticsActionSubject, AnalyticsPayload, AnalyticsHandler, } from './utils/types';
@@ -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' | 'more_information_about_this_work_item' | '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' | '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' | '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' | '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' | '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' | 'status_change_permission_errorIssueTermRefresh';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -250,6 +250,7 @@ export type FlexibleUiDataContext = {
250
250
  objectId?: string;
251
251
  resourceType?: string;
252
252
  tenantId?: string;
253
+ accessType?: string;
253
254
  };
254
255
  };
255
256
  export type LinkTitle = {
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import type { Prettify } from '@atlaskit/linking-common';
3
+ import { token } from '@atlaskit/tokens';
2
4
  import type { ElementProps } from '../../../elements';
3
5
  export type DateTimeType = 'created' | 'modified' | 'sent';
4
6
  export type BaseDateTimeElementProps = ElementProps & {
@@ -22,6 +24,10 @@ export type BaseDateTimeElementProps = ElementProps & {
22
24
  * Color of the text
23
25
  */
24
26
  color?: string;
27
+ /**
28
+ * Override the default font size.
29
+ */
30
+ fontSize?: Prettify<Extract<Parameters<typeof token>[0], 'font.body' | 'font.body.large' | 'font.body.small' | 'font.body.UNSAFE_small'>>;
25
31
  };
26
32
  /**
27
33
  * A base element that displays an ISO Timestamp in text.
@@ -31,6 +37,6 @@ export type BaseDateTimeElementProps = ElementProps & {
31
37
  * @see ModifiedOn
32
38
  * @see SentOn
33
39
  */
34
- declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, }: BaseDateTimeElementProps) => JSX.Element | null;
40
+ declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, fontSize, }: BaseDateTimeElementProps) => JSX.Element | null;
35
41
  export default BaseDateTimeElement;
36
42
  export declare const toDateTimeProps: (type: 'created' | 'modified' | 'sent', dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
@@ -51,6 +51,7 @@ export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof Flexibl
51
51
  objectId?: string | undefined;
52
52
  resourceType?: string | undefined;
53
53
  tenantId?: string | undefined;
54
+ accessType?: string | undefined;
54
55
  } | {
55
56
  appearance: string;
56
57
  icon?: IconType | undefined;
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { MessageDescriptor } from 'react-intl-next';
3
+ import type { Prettify } from '@atlaskit/linking-common';
4
+ import { token } from '@atlaskit/tokens';
3
5
  import type { MessageProps } from '../../../types';
4
6
  import { type ElementProps } from '../../index';
5
7
  export type BaseTextElementProps = ElementProps & {
@@ -25,6 +27,10 @@ export type BaseTextElementProps = ElementProps & {
25
27
  * Text color to override the default text color.
26
28
  */
27
29
  color?: string;
30
+ /**
31
+ * Override the default font size.
32
+ */
33
+ fontSize?: Prettify<Extract<Parameters<typeof token>[0], 'font.body' | 'font.body.large' | 'font.body.small' | 'font.body.UNSAFE_small'>>;
28
34
  };
29
35
  /**
30
36
  * A base element that displays some Text.
@@ -32,7 +38,7 @@ export type BaseTextElementProps = ElementProps & {
32
38
  * @param {TextProps} TextProps - The props necessary for the Text element.
33
39
  * @see Title
34
40
  */
35
- export declare const BaseTextElement: ({ content, maxLines, message, name, className, testId, hideFormat, color, }: BaseTextElementProps) => JSX.Element | null;
41
+ export declare const BaseTextElement: ({ content, maxLines, message, name, className, testId, hideFormat, color, fontSize, }: BaseTextElementProps) => JSX.Element | null;
36
42
  export default BaseTextElement;
37
43
  export declare const toFormattedTextProps: (descriptor: MessageDescriptor, context?: string) => Partial<BaseTextElementProps> | undefined;
38
44
  export declare const toTextProps: (content?: string) => Partial<BaseTextElementProps> | undefined;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Prettify } from '@atlaskit/linking-common';
3
+ import type { ElementProps } from '../index';
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>>>;
6
+ declare const CustomElementByAccessType: ({ className, testId, ...props }: CustomElementByAccessTypeProps) => JSX.Element | null;
7
+ export default CustomElementByAccessType;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Prettify } from '@atlaskit/linking-common';
3
+ import type { SmartLinkStatus } from '../../../../../constants';
4
+ import type { ElementProps } from '../index';
5
+ export type CustomElementProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & {
6
+ content?: string;
7
+ } & Partial<Record<SmartLinkStatus, React.ReactNode>>>;
8
+ declare const CustomByStatusElement: ({ className, testId, ...props }: CustomElementProps) => JSX.Element | null;
9
+ export default CustomByStatusElement;
@@ -56,3 +56,5 @@ export { default as Title } from './title-element';
56
56
  export { default as ViewCount } from './view-count-element';
57
57
  export { default as VoteCount } from './vote-count-element';
58
58
  export { default as AppliedToComponentsCount } from './applied-to-components-count-element';
59
+ export { default as CustomByAccessTypeElement } from './custom-by-access-type-element';
60
+ export { default as CustomByStatusElement } from './custom-by-status-element';
@@ -1,6 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { type BaseTextElementProps } from '../common';
3
3
  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;
4
9
  onRender?: (hasData: boolean) => void;
5
10
  };
6
11
  declare const OwnedByElement: (props: OwnedByElementProps) => JSX.Element | null;
@@ -27,9 +27,9 @@ type LinkIconElementProps = Prettify<Pick<React.ComponentProps<typeof LinkIcon>,
27
27
  export declare const LinkIconElement: (props?: LinkIconElementProps) => React.JSX.Element;
28
28
  export declare const LocationElement: () => React.JSX.Element;
29
29
  export declare const ModifiedByElement: () => React.JSX.Element;
30
- type ModifiedOnElementProps = Pick<React.ComponentProps<typeof ModifiedOn>, 'hideDatePrefix' | 'color' | 'onRender'>;
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'>;
32
+ 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'>;
57
+ export type TitleElementProps = Pick<React.ComponentProps<typeof Title>, 'hideTooltip' | 'maxLines' | 'target' | 'text' | 'theme' | 'size'>;
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;
@@ -79,4 +79,4 @@ export declare const FollowAction: (props: FollowActionProps) => React.JSX.Eleme
79
79
  export type PreviewActionProps = BaseActionProps;
80
80
  export declare const PreviewAction: (props: PreviewActionProps) => React.JSX.Element;
81
81
  export declare const UnresolvedAction: () => React.JSX.Element;
82
- export {};
82
+ export { CustomByAccessTypeElement, CustomByStatusElement } from './components/elements';
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type HoverCardComponentProps } from '../types';
3
3
  export declare const HOVER_CARD_SOURCE = "smartLinkPreviewHoverCard";
4
- export declare const HoverCardComponent: ({ children, url, id, canOpen, closeOnChildClick, actionOptions, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, role, label, titleId, showLabel, }: HoverCardComponentProps) => React.JSX.Element;
4
+ export declare const HoverCardComponent: ({ children, url, id, canOpen, closeOnChildClick, actionOptions, allowEventPropagation, zIndex, noFadeDelay, hoverPreviewOptions, role, label, titleId, }: HoverCardComponentProps) => React.JSX.Element;
@@ -74,11 +74,6 @@ export interface HoverCardInternalProps {
74
74
  * Suspend hover card UI delays (fade-in, fade-out) for VR testing purposes.
75
75
  */
76
76
  noFadeDelay?: boolean;
77
- /**
78
- * A flag to determine whether to show aria-label
79
- * @deprecated remove when cleaning up FG platform_bandicoots-smart-card-disable-aria
80
- */
81
- showLabel?: boolean;
82
77
  }
83
78
  export interface HoverCardComponentProps extends HoverCardProps, HoverCardInternalProps {
84
79
  analyticsHandler?: AnalyticsHandler;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "38.13.2",
3
+ "version": "38.14.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/link-client-extension": "^5.0.0",
53
53
  "@atlaskit/link-extractors": "^2.4.0",
54
54
  "@atlaskit/linking-common": "^9.1.0",
55
- "@atlaskit/linking-types": "^12.1.0",
55
+ "@atlaskit/linking-types": "^12.2.0",
56
56
  "@atlaskit/logo": "^19.1.0",
57
57
  "@atlaskit/lozenge": "^13.0.0",
58
58
  "@atlaskit/menu": "^8.0.0",
@@ -184,6 +184,9 @@
184
184
  "smart_links_for_plans_platform": {
185
185
  "type": "boolean"
186
186
  },
187
+ "bandicoots-smart-card-teamwork-context": {
188
+ "type": "boolean"
189
+ },
187
190
  "platform_bandicoots-smartlink-unresolved-error-key": {
188
191
  "type": "boolean"
189
192
  },
@@ -209,9 +212,6 @@
209
212
  "fix_a11y_violation_in_hover_card_trigger": {
210
213
  "type": "boolean"
211
214
  },
212
- "platform_bandicoots-smart-card-disable-aria": {
213
- "type": "boolean"
214
- },
215
215
  "platform_smart_links_controlled_dsp_export_view": {
216
216
  "type": "boolean"
217
217
  },