@atlaskit/smart-card 28.3.1 → 29.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 (88) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/cjs/index.js +0 -6
  3. package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +2 -12
  4. package/dist/cjs/state/hooks/useSmartLink.js +2 -7
  5. package/dist/cjs/state/hooks-external/useSmartLinkActions.js +1 -2
  6. package/dist/cjs/state/hooks-external/useSmartLinkReload.js +2 -3
  7. package/dist/cjs/utils/analytics/analytics.js +1 -1
  8. package/dist/cjs/utils/index.js +1 -14
  9. package/dist/cjs/view/CardWithUrl/component.js +2 -5
  10. package/dist/cjs/view/CardWithUrl/loader.js +1 -5
  11. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +14 -4
  12. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -5
  13. package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +1 -1
  14. package/dist/cjs/view/HoverCard/components/HoverCardContent.js +1 -1
  15. package/dist/cjs/view/HoverCard/index.js +1 -1
  16. package/dist/cjs/view/InlineCard/Icon.js +3 -17
  17. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +13 -29
  18. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +6 -43
  19. package/dist/cjs/view/LinkUrl/index.js +1 -1
  20. package/dist/es2019/client/index.js +4 -0
  21. package/dist/es2019/index.js +20 -1
  22. package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +2 -12
  23. package/dist/es2019/state/hooks/useSmartLink.js +2 -7
  24. package/dist/es2019/state/hooks-external/useSmartLinkActions.js +1 -2
  25. package/dist/es2019/state/hooks-external/useSmartLinkReload.js +2 -3
  26. package/dist/es2019/utils/analytics/analytics.js +1 -1
  27. package/dist/es2019/utils/index.js +0 -13
  28. package/dist/es2019/view/CardWithUrl/component.js +3 -6
  29. package/dist/es2019/view/CardWithUrl/loader.js +1 -5
  30. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +14 -4
  31. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -5
  32. package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +1 -1
  33. package/dist/es2019/view/HoverCard/components/HoverCardContent.js +1 -1
  34. package/dist/es2019/view/HoverCard/index.js +1 -1
  35. package/dist/es2019/view/InlineCard/Icon.js +2 -16
  36. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +15 -31
  37. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +5 -71
  38. package/dist/es2019/view/LinkUrl/index.js +1 -1
  39. package/dist/esm/client/index.js +4 -0
  40. package/dist/esm/index.js +20 -1
  41. package/dist/esm/state/analytics/useSmartLinkAnalytics.js +2 -12
  42. package/dist/esm/state/hooks/useSmartLink.js +2 -7
  43. package/dist/esm/state/hooks-external/useSmartLinkActions.js +1 -2
  44. package/dist/esm/state/hooks-external/useSmartLinkReload.js +2 -3
  45. package/dist/esm/utils/analytics/analytics.js +1 -1
  46. package/dist/esm/utils/index.js +0 -13
  47. package/dist/esm/view/CardWithUrl/component.js +3 -6
  48. package/dist/esm/view/CardWithUrl/loader.js +1 -5
  49. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-trigger/index.js +14 -4
  50. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +1 -5
  51. package/dist/esm/view/HoverCard/components/HoverCardComponent.js +1 -1
  52. package/dist/esm/view/HoverCard/components/HoverCardContent.js +1 -1
  53. package/dist/esm/view/HoverCard/index.js +1 -1
  54. package/dist/esm/view/InlineCard/Icon.js +2 -16
  55. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +15 -31
  56. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +5 -42
  57. package/dist/esm/view/LinkUrl/index.js +1 -1
  58. package/dist/types/client/index.d.ts +4 -0
  59. package/dist/types/index.d.ts +9 -1
  60. package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +2 -12
  61. package/dist/types/state/hooks/useSmartLink.d.ts +4 -11
  62. package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +2 -10
  63. package/dist/types/state/hooks-external/useSmartLinkReload.d.ts +1 -10
  64. package/dist/types/utils/index.d.ts +0 -6
  65. package/dist/types/utils/mocks.d.ts +0 -1
  66. package/dist/types/view/Card/index.d.ts +1 -1
  67. package/dist/types/view/Card/types.d.ts +0 -25
  68. package/dist/types/view/CardWithData/types.d.ts +0 -6
  69. package/dist/types/view/CardWithUrl/types.d.ts +0 -19
  70. package/dist/types/view/HoverCard/types.d.ts +1 -7
  71. package/dist/types/view/InlineCard/Icon.d.ts +0 -4
  72. package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +2 -16
  73. package/dist/types-ts4.5/client/index.d.ts +4 -0
  74. package/dist/types-ts4.5/index.d.ts +9 -1
  75. package/dist/types-ts4.5/state/analytics/useSmartLinkAnalytics.d.ts +2 -12
  76. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +4 -11
  77. package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +2 -10
  78. package/dist/types-ts4.5/state/hooks-external/useSmartLinkReload.d.ts +1 -10
  79. package/dist/types-ts4.5/utils/index.d.ts +0 -6
  80. package/dist/types-ts4.5/utils/mocks.d.ts +0 -1
  81. package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
  82. package/dist/types-ts4.5/view/Card/types.d.ts +0 -25
  83. package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -6
  84. package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +0 -19
  85. package/dist/types-ts4.5/view/HoverCard/types.d.ts +1 -7
  86. package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +0 -4
  87. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +2 -16
  88. package/package.json +3 -6
@@ -1,22 +1,13 @@
1
- import type { AnalyticsHandler } from '../../utils/types';
2
1
  export interface UseSmartLinkReloadOpts {
3
2
  /**
4
3
  * Smart Link URL for which the reload will be invoked.
5
4
  * @example https://start.atlassian.com
6
5
  */
7
6
  url: string;
8
- /**
9
- * Callback for sending analytics events.
10
- * @description Accepts an analytics payload and fires it to a system.
11
- *
12
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
13
- * Overriding the analytics dispatch method is deprecated. Please omit this property.
14
- */
15
- analyticsHandler?: AnalyticsHandler;
16
7
  }
17
8
  /**
18
9
  * Exposes a programmatic way to reload the data being used to render a Smart Link.
19
10
  * @param
20
11
  * @returns
21
12
  */
22
- export declare function useSmartLinkReload({ url, analyticsHandler }: UseSmartLinkReloadOpts): () => void;
13
+ export declare function useSmartLinkReload({ url }: UseSmartLinkReloadOpts): () => void;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { CardProps } from '../view/Card';
3
- import { type FrameStyle } from '../view/EmbedCard/types';
4
3
  import { type ActiveThemeState } from '@atlaskit/tokens';
5
4
  export declare const isCardWithData: (props: CardProps) => boolean;
6
5
  export declare const isSpecialEvent: (evt: React.MouseEvent | React.KeyboardEvent) => boolean;
@@ -25,11 +24,6 @@ export declare const sleep: (ms: number) => Promise<void>;
25
24
  export declare const importWithRetry: <T>(importFn: () => Promise<T>, retries?: number, interval?: number) => Promise<T>;
26
25
  export declare const downloadUrl: (url?: string) => Promise<void>;
27
26
  export declare const openUrl: (url?: string) => Promise<void>;
28
- /**
29
- * Migrate internal usages of the deprecated isFrameVisible to frameStyle
30
- * This function is to be removed on deprecation of isFrameVisible.
31
- */
32
- export declare const combineFrameStyle: (frameStyle?: CardProps['frameStyle'], isFrameVisible?: CardProps['isFrameVisible']) => FrameStyle | undefined;
33
27
  /**
34
28
  * Append a theme to the URL if it exists
35
29
  * @param previewUrl
@@ -126,7 +126,6 @@ export declare const mockAnalytics: {
126
126
  track: {
127
127
  appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("./analytics/types").CommonEventProps) => void;
128
128
  appAccountAuthStarted: ({ extensionKey, location }: import("./analytics/types").CommonEventProps) => void;
129
- linkUpdated: () => void;
130
129
  smartLinkQuickActionStarted: (props: {
131
130
  smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType | import("./analytics/analytics").TrackQuickActionType;
132
131
  }) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type CardAppearance, type CardPlatform, type CardProps } from './types';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
- export declare const Card: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<CardProps & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "url" | "appearance" | "container" | "children" | "data" | "key" | "id" | "placeholder" | "onError" | "onClick" | "testId" | "analyticsContext" | "isSelected" | "inheritDimensions" | "actionOptions" | "onResolve" | "ui" | "showHoverPreview" | "hoverPreviewOptions" | "showAuthTooltip" | "platform" | "isHovered" | "isFrameVisible" | "frameStyle" | "importer" | "showActions" | "showServerActions" | "fallbackComponent" | "embedIframeRef" | "embedIframeUrlType" | "inlinePreloaderStyle" | "analyticsEvents" | "useLegacyBlockCard" | "removeTextHighlightingFromTitle" | "resolvingPlaceholder" | "truncateInline" | "forwardedRef"> & React.RefAttributes<any>>;
4
+ export declare const Card: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<CardProps & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "url" | "appearance" | "container" | "children" | "data" | "key" | "id" | "placeholder" | "onError" | "onClick" | "testId" | "analyticsContext" | "isSelected" | "inheritDimensions" | "actionOptions" | "onResolve" | "ui" | "showHoverPreview" | "hoverPreviewOptions" | "showAuthTooltip" | "platform" | "isHovered" | "frameStyle" | "importer" | "fallbackComponent" | "embedIframeRef" | "embedIframeUrlType" | "inlinePreloaderStyle" | "useLegacyBlockCard" | "removeTextHighlightingFromTitle" | "resolvingPlaceholder" | "truncateInline" | "forwardedRef"> & React.RefAttributes<any>>;
5
5
  export type { CardAppearance, CardProps, CardPlatform };
@@ -2,7 +2,6 @@
2
2
  import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import { type CardAppearance } from '@atlaskit/linking-common';
4
4
  import { type CardPlatform } from '@atlaskit/link-extractors';
5
- import { type AnalyticsFacade } from '../../state/analytics';
6
5
  import { type FlexibleUiOptions } from '../FlexibleCard/types';
7
6
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
8
7
  import { type FrameStyle } from '../EmbedCard/types';
@@ -38,11 +37,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
38
37
  isSelected?: boolean;
39
38
  /** A flag that determines whether a card is in a hover state in edit mode. Currently used for inline links only */
40
39
  isHovered?: boolean;
41
- /**
42
- * @deprecated please use 'frameStyle' prop instead. Current usages will be converted in the following manner:
43
- * isFrameVisible: true => frameStyle: 'show', isFrameVisible: false => frameStyle: 'showOnHover'
44
- */
45
- isFrameVisible?: boolean;
46
40
  /** A prop that determines the style of a frame: whether to show it, hide it or only show it when a user hovers over embed */
47
41
  frameStyle?: FrameStyle;
48
42
  onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
@@ -56,19 +50,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
56
50
  data?: any;
57
51
  url?: string;
58
52
  testId?: string;
59
- /**
60
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
61
- *
62
- * Prefer `actionOptions` prop. Show client actions, e.g. preview, download, etc.
63
- * These actions do not change the link resource.
64
- */
65
- showActions?: boolean;
66
- /**
67
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
68
- *
69
- * Prefer `actionOptions` prop. Show server actions that change the link resource, e.g. update status.
70
- */
71
- showServerActions?: boolean;
72
53
  actionOptions?: CardActionOptions;
73
54
  onResolve?: OnResolveCallback;
74
55
  /**
@@ -99,12 +80,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
99
80
  showHoverPreview?: boolean;
100
81
  hoverPreviewOptions?: HoverPreviewOptions;
101
82
  showAuthTooltip?: boolean;
102
- /**
103
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
104
- * The use of `useSmartLinkAnalytics` external use in conjunction with `analyticsEvents` prop is deprecated and may be removed in future releases.
105
- * Please avoid using this prop.
106
- */
107
- analyticsEvents?: AnalyticsFacade;
108
83
  placeholder?: string;
109
84
  /**
110
85
  * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15021 Internal documentation for deprecation (no external access)}
@@ -10,12 +10,6 @@ export interface CardWithDataContentProps {
10
10
  isSelected?: boolean;
11
11
  testId?: string;
12
12
  onResolve?: OnResolveCallback;
13
- /**
14
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
15
- *
16
- * Prefer 'actionOptions' prop. Determines whether to show available server actions.
17
- */
18
- showActions?: boolean;
19
13
  actionOptions?: CardActionOptions;
20
14
  inlinePreloaderStyle?: InlinePreloaderStyle;
21
15
  }
@@ -1,6 +1,5 @@
1
1
  import { type EventHandler, type MouseEvent, type KeyboardEvent } from 'react';
2
2
  import type { CardAppearance, CardPlatform, EmbedIframeUrlType, OnResolveCallback, CardActionOptions } from '../Card/types';
3
- import { type AnalyticsHandler } from '../../utils/types';
4
3
  import { type FlexibleUiOptions } from '../FlexibleCard/types';
5
4
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
6
5
  import { type AnalyticsFacade } from '../../state/analytics';
@@ -14,29 +13,11 @@ export type CardWithUrlContentProps = {
14
13
  onClick?: EventHandler<MouseEvent | KeyboardEvent>;
15
14
  isSelected?: boolean;
16
15
  isHovered?: boolean;
17
- isFrameVisible?: boolean;
18
16
  frameStyle?: FrameStyle;
19
17
  container?: HTMLElement;
20
- /**
21
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
22
- * Avoid prop drilling analytics handlers
23
- */
24
- dispatchAnalytics?: AnalyticsHandler;
25
18
  testId?: string;
26
19
  onResolve?: OnResolveCallback;
27
20
  onError?: OnErrorCallback;
28
- /**
29
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
30
- *
31
- * Prefer 'actionOptions' prop.
32
- */
33
- showActions?: boolean;
34
- /**
35
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
36
- *
37
- * Prefer 'actionOptions' prop.
38
- */
39
- showServerActions?: boolean;
40
21
  actionOptions?: CardActionOptions;
41
22
  inheritDimensions?: boolean;
42
23
  embedIframeRef?: React.Ref<HTMLIFrameElement>;
@@ -36,17 +36,11 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
36
36
  */
37
37
  closeOnChildClick?: boolean;
38
38
  /**
39
- * @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-14817 Internal documentation for deprecation (no external access)}
39
+ * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14817 Internal documentation for deprecation (no external access)}
40
40
  *
41
41
  * Prefer 'actionOptions' prop. Determines if the hover card should display the "Open preview" button.
42
42
  */
43
43
  hidePreviewButton?: boolean;
44
- /**
45
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
46
- *
47
- * Prefer 'actionOptions' prop. Determines whether to show available server actions.
48
- */
49
- showServerActions?: boolean;
50
44
  /**
51
45
  * Configure visibility of server and client actions
52
46
  */
@@ -3,10 +3,6 @@ export declare const Icon: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: React.ElementType<any> | undefined;
5
5
  }, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
6
- export declare const IconResized: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: React.ElementType<any> | undefined;
9
- }, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
10
6
  export declare const AKIconWrapper: import("@emotion/styled").StyledComponent<{
11
7
  theme?: import("@emotion/react").Theme | undefined;
12
8
  as?: React.ElementType<any> | undefined;
@@ -1,24 +1,14 @@
1
1
  /// <reference types="react" />
2
- export declare const IconObjectOverrides = "\n & > span {\n height: 16px;\n width: 14px;\n position: absolute;\n top: 3px;\n left: 0;\n line-height: 14px;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
3
- export declare const IconOverrides = "\n\n & > * > span {\n height: 16px;\n width: 14px;\n position: absolute;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
2
+ export declare const IconObjectOverrides = "\n & > span {\n height: 16px;\n width: 16px;\n position: absolute;\n top: 3px;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
3
+ export declare const IconOverrides = "\n & > * > span {\n height: 16px;\n width: 16px;\n position: absolute;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
4
4
  export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
7
7
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
8
- export declare const IconObjectOverridesResized = "\n & > span {\n height: 16px;\n width: 16px;\n position: absolute;\n top: 3px;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
9
- export declare const IconOverridesResized = "\n & > * > span {\n height: 16px;\n width: 16px;\n position: absolute;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
10
- export declare const IconWrapperResized: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
8
  export declare const EmojiWrapper: import("@emotion/styled").StyledComponent<{
15
9
  theme?: import("@emotion/react").Theme | undefined;
16
10
  as?: import("react").ElementType<any> | undefined;
17
11
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
18
- export declare const EmojiWrapperResized: import("@emotion/styled").StyledComponent<{
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
21
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
22
12
  export declare const IconTitleWrapper: import("@emotion/styled").StyledComponent<{
23
13
  theme?: import("@emotion/react").Theme | undefined;
24
14
  as?: import("react").ElementType<any> | undefined;
@@ -39,10 +29,6 @@ export declare const IconEmptyWrapper: import("@emotion/styled").StyledComponent
39
29
  theme?: import("@emotion/react").Theme | undefined;
40
30
  as?: import("react").ElementType<any> | undefined;
41
31
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
42
- export declare const IconEmptyWrapperResized: import("@emotion/styled").StyledComponent<{
43
- theme?: import("@emotion/react").Theme | undefined;
44
- as?: import("react").ElementType<any> | undefined;
45
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
46
32
  export declare const TitleWrapperClassName = "smart-link-title-wrapper";
47
33
  export declare const TitleWrapper: import("@emotion/styled").StyledComponent<{
48
34
  theme?: import("@emotion/react").Theme | undefined;
@@ -1 +1,5 @@
1
+ /**
2
+ * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)}
3
+ * Remove access from entrypoint /client and use `@atlaskit/link-provider`
4
+ **/
1
5
  export { CardClient as default } from '@atlaskit/link-provider';
@@ -1,14 +1,22 @@
1
1
  import { type JsonLd } from 'json-ld-types';
2
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
2
3
  export type ResolveResponse = JsonLd.Response;
3
- export { SmartCardProvider as Provider, SmartCardContext, useSmartLinkAnalytics } from './state';
4
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
5
+ export { SmartCardProvider as Provider, SmartCardContext } from './state';
6
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
4
7
  export type { ProviderProps, CardType } from './state';
8
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
5
9
  export type { CardAdf, InlineCardAdf, BlockCardAdf, EmbedCardAdf, DatasourceAdf, DatasourceAdfView, } from '@atlaskit/linking-common';
10
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
6
11
  export { APIError } from '@atlaskit/linking-common';
12
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
7
13
  export { CardClient as Client } from '@atlaskit/link-provider';
8
14
  export { Card } from './view/Card';
9
15
  export type { CardProps, CardAppearance, CardPlatform } from './view/Card';
10
16
  export { CardAction } from './view/Card/types';
17
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
11
18
  export { SmartCardContext as Context } from '@atlaskit/link-provider';
19
+ /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
12
20
  export type { CardContext } from '@atlaskit/link-provider';
13
21
  export { EmbedResizeMessageListener } from './view/EmbedCard/EmbedResizeMessageListener';
14
22
  export { ExpandedFrame } from './view/EmbedCard/components/ExpandedFrame';
@@ -1,4 +1,4 @@
1
- import { type AnalyticsHandler, type AnalyticsName, type AnalyticsPayload } from '../../utils/types';
1
+ import { type AnalyticsName, type AnalyticsPayload } from '../../utils/types';
2
2
  import { type ConnectFailedEventProps, type ConnectSucceededEventProps, type InstrumentEventProps, type InvokeFailedEventProps, type InvokeSucceededEventProps, type ScreenAuthPopupEventProps, type TrackAppAccountConnectedProps, type UiActionClickedEventProps, type UiAuthAlternateAccountEventProps, type UiAuthEventProps, type UiCardClickedEventProps, type UiClosedAuthEventProps, type UiHoverCardDismissedEventProps, type UiHoverCardOpenLinkClickedEventProps, type UiHoverCardViewedEventProps, type UiIframeDwelledEventProps, type UiIframeFocusedEventProps, type UiRenderFailedEventProps, type UiRenderSuccessEventProps, type UiServerActionClickedEventProps } from '../../utils/analytics/types';
3
3
  import { type TrackQuickActionFailureReason, type TrackQuickActionType } from '../../utils/analytics/analytics';
4
4
  import { type SmartLinkActionType } from '@atlaskit/linking-types';
@@ -6,17 +6,13 @@ import { type SmartLinkActionType } from '@atlaskit/linking-types';
6
6
  * This hook provides usage of Smart Link analytics outside of the Card component.
7
7
  * Can be provided to Card via the analyticsEvents prop to change the analytics events.
8
8
  *
9
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
10
- * This hook's external use is deprecated and may no longer be exported from this package in future releases.
11
- * Please avoid using it in conjunction with the `analyticsEvents` prop.
12
- *
13
9
  * @param url URL of the link
14
10
  * @param dispatchAnalytics dispatchAnalytics function
15
11
  * @param id fallback id of the events sent if no id is available
16
12
  * @param defaultLocation location attribute to be used
17
13
  * @returns
18
14
  */
19
- export declare const useSmartLinkAnalytics: (url: string, _dispatchAnalytics?: AnalyticsHandler, id?: string, defaultLocation?: string) => {
15
+ export declare const useSmartLinkAnalytics: (url: string, id?: string, defaultLocation?: string) => {
20
16
  ui: {
21
17
  /**
22
18
  * This fires an event that represents when a user clicks on the authentication
@@ -90,7 +86,6 @@ export declare const useSmartLinkAnalytics: (url: string, _dispatchAnalytics?: A
90
86
  * @param extensionKey The extensionKey of the Smart Link resovler invoked.
91
87
  * @param actionType The type of the action that was clicked, e.g. PreviewAction
92
88
  * @param display Whether the card was an Inline, Block, Embed or Flexible UI.
93
- * @param invokeType @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
94
89
  * @returns
95
90
  */
96
91
  actionClickedEvent: ({ id, actionType, display, extensionKey: overrideExtensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: UiActionClickedEventProps) => void;
@@ -242,11 +237,6 @@ export declare const useSmartLinkAnalytics: (url: string, _dispatchAnalytics?: A
242
237
  * @returns
243
238
  */
244
239
  appAccountAuthStarted: ({ extensionKey, location }: TrackAppAccountConnectedProps) => void;
245
- /**
246
- * Removed in EDM-5153: This is an even from an experiment.
247
- * @deprecated
248
- */
249
- linkUpdated: () => void;
250
240
  /**
251
241
  * This fires a tracking event before an action invoke api call is made
252
242
  */
@@ -1,10 +1,4 @@
1
- import { type AnalyticsHandler } from '../../utils/types';
2
- export declare function useSmartLink(id: string, url: string,
3
- /**
4
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
5
- * Avoid prop drilling analytics handlers. Continue passing a handler for now if there's already one in place.
6
- */
7
- dispatchAnalytics?: AnalyticsHandler): {
1
+ export declare function useSmartLink(id: string, url: string): {
8
2
  state: import("@atlaskit/linking-common").CardState;
9
3
  actions: {
10
4
  register: () => Promise<void>;
@@ -18,7 +12,7 @@ dispatchAnalytics?: AnalyticsHandler): {
18
12
  ui: {
19
13
  authEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthEventProps) => void;
20
14
  authAlternateAccountEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiAuthAlternateAccountEventProps) => void;
21
- buttonClickedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
15
+ buttonClickedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
22
16
  actionSubjectId: string;
23
17
  }) => void;
24
18
  cardClickedEvent: ({ id, display, status, definitionId, extensionKey, isModifierKeyPressed, location, destinationProduct, destinationSubproduct, actionSubjectId, }: import("../../utils/analytics/types").UiCardClickedEventProps) => void;
@@ -27,7 +21,7 @@ dispatchAnalytics?: AnalyticsHandler): {
27
21
  actionClickedEvent: ({ id, actionType, display, extensionKey: overrideExtensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiActionClickedEventProps) => void;
28
22
  hoverCardOpenLinkClickedEvent: ({ previewDisplay, definitionId, extensionKey, destinationProduct, destinationSubproduct, location, previewInvokeMethod, }: import("../../utils/analytics/types").UiHoverCardOpenLinkClickedEventProps) => void;
29
23
  closedAuthEvent: ({ display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").UiClosedAuthEventProps) => void;
30
- modalClosedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
24
+ modalClosedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
31
25
  actionSubjectId: string;
32
26
  }) => void;
33
27
  renderSuccessEvent: ({ display, status, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, canBeDatasource, }: import("../../utils/analytics/types").UiRenderSuccessEventProps) => void;
@@ -51,7 +45,6 @@ dispatchAnalytics?: AnalyticsHandler): {
51
45
  track: {
52
46
  appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
53
47
  appAccountAuthStarted: ({ extensionKey, location }: import("../../utils/analytics/types").CommonEventProps) => void;
54
- linkUpdated: () => void;
55
48
  smartLinkQuickActionStarted: (props: {
56
49
  smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType | import("../../utils/analytics/analytics").TrackQuickActionType;
57
50
  }) => void;
@@ -67,7 +60,7 @@ dispatchAnalytics?: AnalyticsHandler): {
67
60
  };
68
61
  screen: {
69
62
  authPopupEvent: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("../../utils/analytics/types").CommonEventProps) => void;
70
- modalViewedEvent: (data: Partial<import("../../utils/types").AnalyticsPayload> & {
63
+ modalViewedEvent: (data: Partial<import("../..").AnalyticsPayload> & {
71
64
  name: "embedPreviewModal";
72
65
  }) => void;
73
66
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type JsonLd } from 'json-ld-types';
3
- import type { AnalyticsHandler, AnalyticsOrigin } from '../../utils/types';
3
+ import type { AnalyticsOrigin } from '../../utils/types';
4
4
  import type { CardActionOptions, CardInnerAppearance } from '../../view/Card/types';
5
5
  export interface LinkAction {
6
6
  /**
@@ -31,14 +31,6 @@ export interface UseSmartLinkActionsOpts {
31
31
  * @example `block` for card views.
32
32
  */
33
33
  appearance: CardInnerAppearance;
34
- /**
35
- * Callback for sending analytics events.
36
- * @description Accepts an analytics payload and fires it to a system.
37
- *
38
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
39
- * Overriding the analytics dispatch method is deprecated. Please omit this property.
40
- */
41
- analyticsHandler?: AnalyticsHandler;
42
34
  /**
43
35
  * Platform on which actions are being invoked.
44
36
  * @default 'web'
@@ -53,7 +45,7 @@ export interface UseSmartLinkActionsOpts {
53
45
  */
54
46
  actionOptions?: CardActionOptions;
55
47
  }
56
- export declare function useSmartLinkActions({ url, appearance, analyticsHandler, platform, origin, actionOptions, }: UseSmartLinkActionsOpts): {
48
+ export declare function useSmartLinkActions({ url, appearance, platform, origin, actionOptions, }: UseSmartLinkActionsOpts): {
57
49
  id: string;
58
50
  text: import("react").ReactNode;
59
51
  invoke: () => Promise<any>;
@@ -1,22 +1,13 @@
1
- import type { AnalyticsHandler } from '../../utils/types';
2
1
  export interface UseSmartLinkReloadOpts {
3
2
  /**
4
3
  * Smart Link URL for which the reload will be invoked.
5
4
  * @example https://start.atlassian.com
6
5
  */
7
6
  url: string;
8
- /**
9
- * Callback for sending analytics events.
10
- * @description Accepts an analytics payload and fires it to a system.
11
- *
12
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
13
- * Overriding the analytics dispatch method is deprecated. Please omit this property.
14
- */
15
- analyticsHandler?: AnalyticsHandler;
16
7
  }
17
8
  /**
18
9
  * Exposes a programmatic way to reload the data being used to render a Smart Link.
19
10
  * @param
20
11
  * @returns
21
12
  */
22
- export declare function useSmartLinkReload({ url, analyticsHandler }: UseSmartLinkReloadOpts): () => void;
13
+ export declare function useSmartLinkReload({ url }: UseSmartLinkReloadOpts): () => void;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { CardProps } from '../view/Card';
3
- import { type FrameStyle } from '../view/EmbedCard/types';
4
3
  import { type ActiveThemeState } from '@atlaskit/tokens';
5
4
  export declare const isCardWithData: (props: CardProps) => boolean;
6
5
  export declare const isSpecialEvent: (evt: React.MouseEvent | React.KeyboardEvent) => boolean;
@@ -25,11 +24,6 @@ export declare const sleep: (ms: number) => Promise<void>;
25
24
  export declare const importWithRetry: <T>(importFn: () => Promise<T>, retries?: number, interval?: number) => Promise<T>;
26
25
  export declare const downloadUrl: (url?: string) => Promise<void>;
27
26
  export declare const openUrl: (url?: string) => Promise<void>;
28
- /**
29
- * Migrate internal usages of the deprecated isFrameVisible to frameStyle
30
- * This function is to be removed on deprecation of isFrameVisible.
31
- */
32
- export declare const combineFrameStyle: (frameStyle?: CardProps['frameStyle'], isFrameVisible?: CardProps['isFrameVisible']) => FrameStyle | undefined;
33
27
  /**
34
28
  * Append a theme to the URL if it exists
35
29
  * @param previewUrl
@@ -126,7 +126,6 @@ export declare const mockAnalytics: {
126
126
  track: {
127
127
  appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: import("./analytics/types").CommonEventProps) => void;
128
128
  appAccountAuthStarted: ({ extensionKey, location }: import("./analytics/types").CommonEventProps) => void;
129
- linkUpdated: () => void;
130
129
  smartLinkQuickActionStarted: (props: {
131
130
  smartLinkActionType: import("@atlaskit/linking-types").SmartLinkActionType | import("./analytics/analytics").TrackQuickActionType;
132
131
  }) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type CardAppearance, type CardPlatform, type CardProps } from './types';
3
3
  import { type WrappedComponentProps } from 'react-intl-next';
4
- export declare const Card: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<CardProps & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "url" | "appearance" | "container" | "children" | "data" | "key" | "id" | "placeholder" | "onError" | "onClick" | "testId" | "analyticsContext" | "isSelected" | "inheritDimensions" | "actionOptions" | "onResolve" | "ui" | "showHoverPreview" | "hoverPreviewOptions" | "showAuthTooltip" | "platform" | "isHovered" | "isFrameVisible" | "frameStyle" | "importer" | "showActions" | "showServerActions" | "fallbackComponent" | "embedIframeRef" | "embedIframeUrlType" | "inlinePreloaderStyle" | "analyticsEvents" | "useLegacyBlockCard" | "removeTextHighlightingFromTitle" | "resolvingPlaceholder" | "truncateInline" | "forwardedRef"> & React.RefAttributes<any>>;
4
+ export declare const Card: React.ForwardRefExoticComponent<Pick<Omit<import("react-intl-next").WithIntlProps<CardProps & WrappedComponentProps>, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "url" | "appearance" | "container" | "children" | "data" | "key" | "id" | "placeholder" | "onError" | "onClick" | "testId" | "analyticsContext" | "isSelected" | "inheritDimensions" | "actionOptions" | "onResolve" | "ui" | "showHoverPreview" | "hoverPreviewOptions" | "showAuthTooltip" | "platform" | "isHovered" | "frameStyle" | "importer" | "fallbackComponent" | "embedIframeRef" | "embedIframeUrlType" | "inlinePreloaderStyle" | "useLegacyBlockCard" | "removeTextHighlightingFromTitle" | "resolvingPlaceholder" | "truncateInline" | "forwardedRef"> & React.RefAttributes<any>>;
5
5
  export type { CardAppearance, CardProps, CardPlatform };
@@ -2,7 +2,6 @@
2
2
  import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import { type CardAppearance } from '@atlaskit/linking-common';
4
4
  import { type CardPlatform } from '@atlaskit/link-extractors';
5
- import { type AnalyticsFacade } from '../../state/analytics';
6
5
  import { type FlexibleUiOptions } from '../FlexibleCard/types';
7
6
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
8
7
  import { type FrameStyle } from '../EmbedCard/types';
@@ -38,11 +37,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
38
37
  isSelected?: boolean;
39
38
  /** A flag that determines whether a card is in a hover state in edit mode. Currently used for inline links only */
40
39
  isHovered?: boolean;
41
- /**
42
- * @deprecated please use 'frameStyle' prop instead. Current usages will be converted in the following manner:
43
- * isFrameVisible: true => frameStyle: 'show', isFrameVisible: false => frameStyle: 'showOnHover'
44
- */
45
- isFrameVisible?: boolean;
46
40
  /** A prop that determines the style of a frame: whether to show it, hide it or only show it when a user hovers over embed */
47
41
  frameStyle?: FrameStyle;
48
42
  onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
@@ -56,19 +50,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
56
50
  data?: any;
57
51
  url?: string;
58
52
  testId?: string;
59
- /**
60
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
61
- *
62
- * Prefer `actionOptions` prop. Show client actions, e.g. preview, download, etc.
63
- * These actions do not change the link resource.
64
- */
65
- showActions?: boolean;
66
- /**
67
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
68
- *
69
- * Prefer `actionOptions` prop. Show server actions that change the link resource, e.g. update status.
70
- */
71
- showServerActions?: boolean;
72
53
  actionOptions?: CardActionOptions;
73
54
  onResolve?: OnResolveCallback;
74
55
  /**
@@ -99,12 +80,6 @@ export interface CardProps extends WithAnalyticsEventsProps {
99
80
  showHoverPreview?: boolean;
100
81
  hoverPreviewOptions?: HoverPreviewOptions;
101
82
  showAuthTooltip?: boolean;
102
- /**
103
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
104
- * The use of `useSmartLinkAnalytics` external use in conjunction with `analyticsEvents` prop is deprecated and may be removed in future releases.
105
- * Please avoid using this prop.
106
- */
107
- analyticsEvents?: AnalyticsFacade;
108
83
  placeholder?: string;
109
84
  /**
110
85
  * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15021 Internal documentation for deprecation (no external access)}
@@ -10,12 +10,6 @@ export interface CardWithDataContentProps {
10
10
  isSelected?: boolean;
11
11
  testId?: string;
12
12
  onResolve?: OnResolveCallback;
13
- /**
14
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
15
- *
16
- * Prefer 'actionOptions' prop. Determines whether to show available server actions.
17
- */
18
- showActions?: boolean;
19
13
  actionOptions?: CardActionOptions;
20
14
  inlinePreloaderStyle?: InlinePreloaderStyle;
21
15
  }
@@ -1,6 +1,5 @@
1
1
  import { type EventHandler, type MouseEvent, type KeyboardEvent } from 'react';
2
2
  import type { CardAppearance, CardPlatform, EmbedIframeUrlType, OnResolveCallback, CardActionOptions } from '../Card/types';
3
- import { type AnalyticsHandler } from '../../utils/types';
4
3
  import { type FlexibleUiOptions } from '../FlexibleCard/types';
5
4
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
6
5
  import { type AnalyticsFacade } from '../../state/analytics';
@@ -14,29 +13,11 @@ export type CardWithUrlContentProps = {
14
13
  onClick?: EventHandler<MouseEvent | KeyboardEvent>;
15
14
  isSelected?: boolean;
16
15
  isHovered?: boolean;
17
- isFrameVisible?: boolean;
18
16
  frameStyle?: FrameStyle;
19
17
  container?: HTMLElement;
20
- /**
21
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-2681 Internal documentation for deprecation (no external access)}
22
- * Avoid prop drilling analytics handlers
23
- */
24
- dispatchAnalytics?: AnalyticsHandler;
25
18
  testId?: string;
26
19
  onResolve?: OnResolveCallback;
27
20
  onError?: OnErrorCallback;
28
- /**
29
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
30
- *
31
- * Prefer 'actionOptions' prop.
32
- */
33
- showActions?: boolean;
34
- /**
35
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
36
- *
37
- * Prefer 'actionOptions' prop.
38
- */
39
- showServerActions?: boolean;
40
21
  actionOptions?: CardActionOptions;
41
22
  inheritDimensions?: boolean;
42
23
  embedIframeRef?: React.Ref<HTMLIFrameElement>;
@@ -36,17 +36,11 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
36
36
  */
37
37
  closeOnChildClick?: boolean;
38
38
  /**
39
- * @deprecated {@link https://hello.jira.atlassian.cloud/browse/ENGHEALTH-14817 Internal documentation for deprecation (no external access)}
39
+ * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14817 Internal documentation for deprecation (no external access)}
40
40
  *
41
41
  * Prefer 'actionOptions' prop. Determines if the hover card should display the "Open preview" button.
42
42
  */
43
43
  hidePreviewButton?: boolean;
44
- /**
45
- * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6348 Internal documentation for deprecation (no external access)}
46
- *
47
- * Prefer 'actionOptions' prop. Determines whether to show available server actions.
48
- */
49
- showServerActions?: boolean;
50
44
  /**
51
45
  * Configure visibility of server and client actions
52
46
  */
@@ -3,10 +3,6 @@ export declare const Icon: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: React.ElementType<any> | undefined;
5
5
  }, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
6
- export declare const IconResized: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: React.ElementType<any> | undefined;
9
- }, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
10
6
  export declare const AKIconWrapper: import("@emotion/styled").StyledComponent<{
11
7
  theme?: import("@emotion/react").Theme | undefined;
12
8
  as?: React.ElementType<any> | undefined;