@atlaskit/smart-card 26.15.3 → 26.15.5

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 (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/utils/analytics/analytics.js +2 -3
  3. package/dist/cjs/version.json +1 -1
  4. package/dist/cjs/view/BlockCard/index.js +12 -33
  5. package/dist/cjs/view/BlockCard/views/flexible/FlexibleErroredView.js +5 -3
  6. package/dist/cjs/view/BlockCard/views/flexible/FlexibleForbiddenView.js +5 -3
  7. package/dist/cjs/view/BlockCard/views/flexible/FlexibleNotFoundView.js +5 -3
  8. package/dist/cjs/view/BlockCard/views/flexible/FlexibleResolvedView.js +5 -3
  9. package/dist/cjs/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +5 -3
  10. package/dist/cjs/view/BlockCard/views/flexible/styled.js +10 -3
  11. package/dist/cjs/view/BlockCard/views/flexible/{utils.js → utils/index.js} +3 -3
  12. package/dist/cjs/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +18 -0
  13. package/dist/cjs/view/HoverCard/components/CustomPopupContainer.js +25 -0
  14. package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +6 -2
  15. package/dist/cjs/view/HoverCard/styled.js +12 -3
  16. package/dist/cjs/view/LinkUrl/index.js +2 -3
  17. package/dist/es2019/utils/analytics/analytics.js +2 -3
  18. package/dist/es2019/version.json +1 -1
  19. package/dist/es2019/view/BlockCard/index.js +12 -34
  20. package/dist/es2019/view/BlockCard/views/flexible/FlexibleErroredView.js +6 -3
  21. package/dist/es2019/view/BlockCard/views/flexible/FlexibleForbiddenView.js +5 -3
  22. package/dist/es2019/view/BlockCard/views/flexible/FlexibleNotFoundView.js +6 -3
  23. package/dist/es2019/view/BlockCard/views/flexible/FlexibleResolvedView.js +5 -3
  24. package/dist/es2019/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +5 -3
  25. package/dist/es2019/view/BlockCard/views/flexible/styled.js +16 -1
  26. package/dist/es2019/view/BlockCard/views/flexible/{utils.js → utils/index.js} +3 -3
  27. package/dist/es2019/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +8 -0
  28. package/dist/es2019/view/HoverCard/components/CustomPopupContainer.js +14 -0
  29. package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +6 -2
  30. package/dist/es2019/view/HoverCard/styled.js +12 -0
  31. package/dist/es2019/view/LinkUrl/index.js +2 -3
  32. package/dist/esm/utils/analytics/analytics.js +2 -3
  33. package/dist/esm/version.json +1 -1
  34. package/dist/esm/view/BlockCard/index.js +12 -32
  35. package/dist/esm/view/BlockCard/views/flexible/FlexibleErroredView.js +6 -3
  36. package/dist/esm/view/BlockCard/views/flexible/FlexibleForbiddenView.js +5 -3
  37. package/dist/esm/view/BlockCard/views/flexible/FlexibleNotFoundView.js +6 -3
  38. package/dist/esm/view/BlockCard/views/flexible/FlexibleResolvedView.js +5 -3
  39. package/dist/esm/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +5 -3
  40. package/dist/esm/view/BlockCard/views/flexible/styled.js +8 -2
  41. package/dist/esm/view/BlockCard/views/flexible/{utils.js → utils/index.js} +3 -3
  42. package/dist/esm/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.js +10 -0
  43. package/dist/esm/view/HoverCard/components/CustomPopupContainer.js +17 -0
  44. package/dist/esm/view/HoverCard/components/HoverCardComponent.js +6 -2
  45. package/dist/esm/view/HoverCard/styled.js +10 -2
  46. package/dist/esm/view/LinkUrl/index.js +2 -3
  47. package/dist/types/utils/analytics/analytics.d.ts +2 -2
  48. package/dist/types/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +2 -9
  49. package/dist/types/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +2 -10
  50. package/dist/types/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +2 -9
  51. package/dist/types/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +2 -8
  52. package/dist/types/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +2 -10
  53. package/dist/types/view/BlockCard/views/flexible/styled.d.ts +1 -0
  54. package/dist/{types-ts4.5/view/BlockCard/views/flexible/utils.d.ts → types/view/BlockCard/views/flexible/utils/index.d.ts} +1 -1
  55. package/dist/types/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +4 -0
  56. package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +5 -0
  57. package/dist/types/view/HoverCard/styled.d.ts +1 -0
  58. package/dist/types/view/LinkUrl/types.d.ts +1 -1
  59. package/dist/types-ts4.5/utils/analytics/analytics.d.ts +2 -2
  60. package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleErroredView.d.ts +2 -9
  61. package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenView.d.ts +2 -10
  62. package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleNotFoundView.d.ts +2 -9
  63. package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleResolvedView.d.ts +2 -8
  64. package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +2 -10
  65. package/dist/types-ts4.5/view/BlockCard/views/flexible/styled.d.ts +1 -0
  66. package/dist/{types/view/BlockCard/views/flexible/utils.d.ts → types-ts4.5/view/BlockCard/views/flexible/utils/index.d.ts} +1 -1
  67. package/dist/types-ts4.5/view/BlockCard/views/flexible/utils/withFlexibleUIBlockCardStyle.d.ts +4 -0
  68. package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +5 -0
  69. package/dist/types-ts4.5/view/HoverCard/styled.d.ts +1 -0
  70. package/dist/types-ts4.5/view/LinkUrl/types.d.ts +1 -1
  71. package/package.json +3 -3
@@ -8,12 +8,14 @@ import { useSmartLinkActions } from '../../../state/hooks-external/useSmartLinkA
8
8
  import { useSmartLinkRenderers } from '../../../state/renderers';
9
9
  import { useSmartCardState as useLinkState } from '../../../state/store';
10
10
  import HoverCardContent from '../components/HoverCardContent';
11
+ import CustomPopupContainer from '../components/CustomPopupContainer';
11
12
  import { CARD_GAP_PX, HOVER_CARD_Z_INDEX } from '../styled';
12
13
  import { CardDisplay } from '../../../constants';
13
14
  import { SmartLinkAnalyticsContext } from '../../../utils/analytics/SmartLinkAnalyticsContext';
14
15
  import { useSmartCardActions } from '../../../state/actions';
15
16
  import { useSmartLinkAnalytics } from '../../../state/analytics';
16
17
  import { useFeatureFlag } from '@atlaskit/link-provider';
18
+ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
17
19
  var HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
18
20
  var FADE_IN_DELAY = 500;
19
21
  var FADE_OUT_DELAY = 300;
@@ -209,7 +211,7 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
209
211
  "data-testid": "hover-card-trigger-wrapper"
210
212
  }), children));
211
213
  }, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
212
- return jsx(Popup, {
214
+ return jsx(Popup, _extends({
213
215
  testId: "hover-card",
214
216
  isOpen: isOpen && canOpen,
215
217
  onClose: hideCard,
@@ -219,5 +221,7 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
219
221
  content: content,
220
222
  trigger: trigger,
221
223
  zIndex: zIndex
222
- });
224
+ }, getBooleanFF('platform.linking-platform.smart-card.show-smart-links-refreshed-design') && {
225
+ popupComponent: CustomPopupContainer
226
+ }));
223
227
  };
@@ -1,9 +1,10 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
2
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
3
  import { css } from '@emotion/react';
4
4
  import { loadingPlaceholderClassName } from '../../index';
5
5
  import { SmartLinkSize, SmartLinkTheme } from '../../constants';
6
6
  import { layers } from '@atlaskit/theme/constants';
7
+ import { themed } from '@atlaskit/theme/components';
7
8
 
8
9
  // Temporary fix for Confluence inline comment on editor mod has z-index of 500, Jira issue view has z-index of 510
9
10
  export var HOVER_CARD_Z_INDEX = layers.modal();
@@ -27,4 +28,11 @@ export var HoverCardContainer = css(_templateObject2 || (_templateObject2 = _tag
27
28
  export var titleBlockCss = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n gap: ", ";\n\n ", "\n\n // title and subtitle element group\n [data-smart-element-group] {\n // gap between title and subtitle\n gap: 0.06rem;\n display: flex;\n /* subtitle element group */\n > [data-smart-element-group] {\n > span {\n margin-right: ", ";\n }\n }\n }\n"])), blockGap, separatorCss, elementGap);
28
29
  export var getTransitionStyles = function getTransitionStyles(snippetHeight) {
29
30
  return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n transition: height 300ms ease-in-out;\n height: ", "px;\n"])), snippetHeight);
30
- };
31
+ };
32
+ export var popupContainerStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n"])), "var(--ds-border-radius-300, 12px)", themed({
33
+ light: "var(--ds-surface-raised, white)",
34
+ dark: "var(--ds-surface-raised, #262B31)"
35
+ })(), themed({
36
+ light: "var(--ds-shadow-overlay, 0px 8px 12px rgba(9, 30, 66, 0.15),0px 0px 1px rgba(9, 30, 66, 0.31))",
37
+ dark: "var(--ds-shadow-overlay, 0px 0px 0px rgba(188, 214, 240, 0.12),0px 8px 12px rgba(3, 4, 4, 0.36),0px 0px 1px rgba(3, 4, 4, 0.5))"
38
+ })());
@@ -4,15 +4,14 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
4
4
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
5
5
  import React from 'react';
6
6
  import { withAnalyticsContext } from '@atlaskit/analytics-next';
7
- import { name as packageName, version as packageVersion } from '../../version.json';
8
7
  import { withLinkClickedEvent } from '../../utils/analytics/click';
9
8
  import { LinkAnalyticsContext } from '../../utils/analytics/LinkAnalyticsContext';
10
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
10
  import LinkWarningModal from './LinkWarningModal';
12
11
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
13
12
  var PACKAGE_DATA = {
14
- packageName: packageName,
15
- packageVersion: packageVersion,
13
+ packageName: "@atlaskit/smart-card",
14
+ packageVersion: "26.15.5",
16
15
  componentName: 'linkUrl'
17
16
  };
18
17
  var Link = withLinkClickedEvent('a');
@@ -6,8 +6,8 @@ import { SmartLinkActionType } from '@atlaskit/linking-types';
6
6
  export declare const ANALYTICS_CHANNEL = "media";
7
7
  export declare const context: {
8
8
  componentName: string;
9
- packageName: any;
10
- packageVersion: any;
9
+ packageName: string;
10
+ packageVersion: string;
11
11
  };
12
12
  export declare enum TrackQuickActionType {
13
13
  StatusUpdate = "StatusUpdate"
@@ -1,10 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block Card with an 'Errored' status.
5
- *
6
- * @see SmartLinkStatus
7
- * @see FlexibleCardProps
8
- */
9
- declare const FlexibleErroredView: ({ anchorTarget, cardState, onAuthorize, onError, ui, url, onClick, testId, }: FlexibleBlockCardProps) => JSX.Element;
10
- export default FlexibleErroredView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,11 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represent a Block Card with the 'Forbidden' status.
5
- * It should have a "Try another account" button that will allow a user to connect another account and view the block card.
6
- *
7
- * @see SmartLinkStatus
8
- * @see FlexibleCardProps
9
- */
10
- declare const FlexibleForbiddenView: ({ anchorTarget, cardState, onAuthorize, onClick, onError, testId, ui, url, }: FlexibleBlockCardProps) => JSX.Element;
11
- export default FlexibleForbiddenView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,10 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block Card with a 'Not_Found' status.
5
- *
6
- * @see SmartLinkStatus
7
- * @see FlexibleCardProps
8
- */
9
- declare const FlexibleNotFoundView: ({ anchorTarget, cardState, onAuthorize, onError, ui, url, onClick, testId, }: FlexibleBlockCardProps) => JSX.Element;
10
- export default FlexibleNotFoundView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,9 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block card that has an 'Resolved' status.
5
- * @see SmartLinkStatus
6
- * @see FlexibleCardProps
7
- */
8
- declare const FlexibleResolvedView: ({ id, cardState, onClick, onError, onResolve, showServerActions, anchorTarget, testId, ui, url, analytics, }: FlexibleBlockCardProps) => JSX.Element;
9
- export default FlexibleResolvedView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,11 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block card that has an 'Unauthorized' status .
5
- * It should have a "Connect" button that will allow a user to connect their account and view the block card.
6
- *
7
- * @see SmartLinkStatus
8
- * @see FlexibleCardProps
9
- */
10
- declare const FlexibleUnauthorisedView: ({ anchorTarget, analytics, cardState, extensionKey, onAuthorize, onClick, onError, testId, ui, url, }: FlexibleBlockCardProps) => JSX.Element;
11
- export default FlexibleUnauthorisedView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  export declare const metadataBlockCss: import("@emotion/react").SerializedStyles;
2
2
  export declare const titleBlockCss: import("@emotion/react").SerializedStyles;
3
+ export declare const flexibleBlockCardStyle: import("@emotion/react").SerializedStyles;
@@ -1,5 +1,5 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
- import { ElementItem } from '../../../FlexibleCard/components/blocks/types';
2
+ import { ElementItem } from '../../../../FlexibleCard/components/blocks/types';
3
3
  export declare const getSimulatedBetterMetadata: (cardDetails?: JsonLd.Response) => SimulatedMetadata;
4
4
  export declare const getSimulatedMetadata: (cardDetails?: JsonLd.Response) => SimulatedMetadata;
5
5
  type SimulatedMetadata = {
@@ -0,0 +1,4 @@
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ import { FlexibleBlockCardProps } from '../types';
4
+ export declare const withFlexibleUIBlockCardStyle: (FlexibleBlockCardView: React.FC<FlexibleBlockCardProps>) => (props: FlexibleBlockCardProps) => jsx.JSX.Element;
@@ -0,0 +1,5 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { PopupComponentProps } from '@atlaskit/popup';
4
+ declare const CustomPopupContainer: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "children" | "style" | "id" | "tabIndex" | "data-testid" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
5
+ export default CustomPopupContainer;
@@ -7,3 +7,4 @@ export declare const separatorCss: import("@emotion/react").SerializedStyles;
7
7
  export declare const HoverCardContainer: import("@emotion/react").SerializedStyles;
8
8
  export declare const titleBlockCss: import("@emotion/react").SerializedStyles;
9
9
  export declare const getTransitionStyles: (snippetHeight: number) => import("@emotion/react").SerializedStyles;
10
+ export declare const popupContainerStyles: import("@emotion/react").SerializedStyles;
@@ -7,7 +7,7 @@ export interface LinkUrlProps extends React.AnchorHTMLAttributes<HTMLAnchorEleme
7
7
  testId?: string;
8
8
  }
9
9
  export type PackageDataType = {
10
- packageName: '@atlaskit/smart-card';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  componentName: 'linkUrl';
13
13
  };
@@ -6,8 +6,8 @@ import { SmartLinkActionType } from '@atlaskit/linking-types';
6
6
  export declare const ANALYTICS_CHANNEL = "media";
7
7
  export declare const context: {
8
8
  componentName: string;
9
- packageName: any;
10
- packageVersion: any;
9
+ packageName: string;
10
+ packageVersion: string;
11
11
  };
12
12
  export declare enum TrackQuickActionType {
13
13
  StatusUpdate = "StatusUpdate"
@@ -1,10 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block Card with an 'Errored' status.
5
- *
6
- * @see SmartLinkStatus
7
- * @see FlexibleCardProps
8
- */
9
- declare const FlexibleErroredView: ({ anchorTarget, cardState, onAuthorize, onError, ui, url, onClick, testId, }: FlexibleBlockCardProps) => JSX.Element;
10
- export default FlexibleErroredView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,11 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represent a Block Card with the 'Forbidden' status.
5
- * It should have a "Try another account" button that will allow a user to connect another account and view the block card.
6
- *
7
- * @see SmartLinkStatus
8
- * @see FlexibleCardProps
9
- */
10
- declare const FlexibleForbiddenView: ({ anchorTarget, cardState, onAuthorize, onClick, onError, testId, ui, url, }: FlexibleBlockCardProps) => JSX.Element;
11
- export default FlexibleForbiddenView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,10 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block Card with a 'Not_Found' status.
5
- *
6
- * @see SmartLinkStatus
7
- * @see FlexibleCardProps
8
- */
9
- declare const FlexibleNotFoundView: ({ anchorTarget, cardState, onAuthorize, onError, ui, url, onClick, testId, }: FlexibleBlockCardProps) => JSX.Element;
10
- export default FlexibleNotFoundView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,9 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block card that has an 'Resolved' status.
5
- * @see SmartLinkStatus
6
- * @see FlexibleCardProps
7
- */
8
- declare const FlexibleResolvedView: ({ id, cardState, onClick, onError, onResolve, showServerActions, anchorTarget, testId, ui, url, analytics, }: FlexibleBlockCardProps) => JSX.Element;
9
- export default FlexibleResolvedView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,11 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FlexibleBlockCardProps } from './types';
3
- /**
4
- * This view represents a Block card that has an 'Unauthorized' status .
5
- * It should have a "Connect" button that will allow a user to connect their account and view the block card.
6
- *
7
- * @see SmartLinkStatus
8
- * @see FlexibleCardProps
9
- */
10
- declare const FlexibleUnauthorisedView: ({ anchorTarget, analytics, cardState, extensionKey, onAuthorize, onClick, onError, testId, ui, url, }: FlexibleBlockCardProps) => JSX.Element;
11
- export default FlexibleUnauthorisedView;
2
+ declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  export declare const metadataBlockCss: import("@emotion/react").SerializedStyles;
2
2
  export declare const titleBlockCss: import("@emotion/react").SerializedStyles;
3
+ export declare const flexibleBlockCardStyle: import("@emotion/react").SerializedStyles;
@@ -1,5 +1,5 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
- import { ElementItem } from '../../../FlexibleCard/components/blocks/types';
2
+ import { ElementItem } from '../../../../FlexibleCard/components/blocks/types';
3
3
  export declare const getSimulatedBetterMetadata: (cardDetails?: JsonLd.Response) => SimulatedMetadata;
4
4
  export declare const getSimulatedMetadata: (cardDetails?: JsonLd.Response) => SimulatedMetadata;
5
5
  type SimulatedMetadata = {
@@ -0,0 +1,4 @@
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ import { FlexibleBlockCardProps } from '../types';
4
+ export declare const withFlexibleUIBlockCardStyle: (FlexibleBlockCardView: React.FC<FlexibleBlockCardProps>) => (props: FlexibleBlockCardProps) => jsx.JSX.Element;
@@ -0,0 +1,5 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ import { PopupComponentProps } from '@atlaskit/popup';
4
+ declare const CustomPopupContainer: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "children" | "style" | "id" | "tabIndex" | "data-testid" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
5
+ export default CustomPopupContainer;
@@ -7,3 +7,4 @@ export declare const separatorCss: import("@emotion/react").SerializedStyles;
7
7
  export declare const HoverCardContainer: import("@emotion/react").SerializedStyles;
8
8
  export declare const titleBlockCss: import("@emotion/react").SerializedStyles;
9
9
  export declare const getTransitionStyles: (snippetHeight: number) => import("@emotion/react").SerializedStyles;
10
+ export declare const popupContainerStyles: import("@emotion/react").SerializedStyles;
@@ -7,7 +7,7 @@ export interface LinkUrlProps extends React.AnchorHTMLAttributes<HTMLAnchorEleme
7
7
  testId?: string;
8
8
  }
9
9
  export type PackageDataType = {
10
- packageName: '@atlaskit/smart-card';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  componentName: 'linkUrl';
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.3",
3
+ "version": "26.15.5",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/avatar": "^21.3.0",
28
28
  "@atlaskit/avatar-group": "^9.3.0",
29
29
  "@atlaskit/badge": "^15.1.0",
30
- "@atlaskit/button": "^16.8.0",
30
+ "@atlaskit/button": "^16.9.0",
31
31
  "@atlaskit/dropdown-menu": "^11.11.0",
32
32
  "@atlaskit/frontend-utilities": "^2.7.0",
33
33
  "@atlaskit/icon": "^21.12.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/link-analytics": "^8.2.0",
39
39
  "@atlaskit/link-client-extension": "^1.6.0",
40
40
  "@atlaskit/link-extractors": "^1.1.0",
41
- "@atlaskit/linking-common": "^4.3.0",
41
+ "@atlaskit/linking-common": "^4.4.0",
42
42
  "@atlaskit/linking-types": "^8.2.0",
43
43
  "@atlaskit/logo": "^13.14.0",
44
44
  "@atlaskit/lozenge": "^11.4.0",