@atlaskit/smart-card 45.6.8 → 45.6.10
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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/messages.js +45 -40
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +52 -0
- package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.js +124 -0
- package/dist/cjs/view/EmbedCard/components/carousel/index.compiled.css +12 -0
- package/dist/cjs/view/EmbedCard/components/carousel/index.js +122 -0
- package/dist/cjs/view/EmbedCard/components/carousel/types.js +5 -0
- package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +4 -8
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/index.js +5 -16
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +7 -30
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +2 -11
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/rovo-chat-utils/index.js +4 -68
- package/dist/es2019/messages.js +45 -40
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +52 -0
- package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.js +114 -0
- package/dist/es2019/view/EmbedCard/components/carousel/index.compiled.css +12 -0
- package/dist/es2019/view/EmbedCard/components/carousel/index.js +101 -0
- package/dist/es2019/view/EmbedCard/components/carousel/types.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +3 -7
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/index.js +3 -12
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +7 -30
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -12
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/rovo-chat-utils/index.js +4 -68
- package/dist/esm/messages.js +45 -40
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +52 -0
- package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.js +117 -0
- package/dist/esm/view/EmbedCard/components/carousel/index.compiled.css +12 -0
- package/dist/esm/view/EmbedCard/components/carousel/index.js +113 -0
- package/dist/esm/view/EmbedCard/components/carousel/types.js +1 -0
- package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +4 -8
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/index.js +5 -14
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +7 -30
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +3 -12
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/rovo-chat-utils/index.js +4 -68
- package/dist/types/messages.d.ts +2 -2
- package/dist/types/view/EmbedCard/components/carousel/CarouselSlide.d.ts +39 -0
- package/dist/types/view/EmbedCard/components/carousel/index.d.ts +22 -0
- package/dist/types/view/EmbedCard/components/carousel/types.d.ts +26 -0
- package/dist/types/view/FlexibleCard/components/actions/rovo-chat-action/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/blocks/action-block/types.d.ts +0 -4
- package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolved/index.d.ts +1 -1
- package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +0 -1
- package/dist/types/view/HoverCard/types.d.ts +0 -1
- package/dist/types/view/common/rovo-chat-utils/index.d.ts +0 -3
- package/package.json +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default.png +0 -3
|
@@ -2,10 +2,6 @@ import type { Space } from '@atlaskit/primitives/compiled';
|
|
|
2
2
|
import { type FlexibleUiActionName } from '../../../../../constants';
|
|
3
3
|
import type { BlockProps } from '../types';
|
|
4
4
|
export type ActionBlockProps = {
|
|
5
|
-
/**
|
|
6
|
-
* Whether the platform_sl_3p_auth_rovo_action experiment value is ON for current runtime
|
|
7
|
-
*/
|
|
8
|
-
isAny3pRovoActionsExperimentOn?: boolean;
|
|
9
5
|
/**
|
|
10
6
|
* Callback once action is executed.
|
|
11
7
|
*/
|
|
@@ -7,5 +7,5 @@ import { type AISummaryBlockProps } from './types';
|
|
|
7
7
|
* @param {AISummaryBlockProps} AISummaryBlock
|
|
8
8
|
* @see Block
|
|
9
9
|
*/
|
|
10
|
-
declare const AISummaryBlock: ({
|
|
10
|
+
declare const AISummaryBlock: ({ testId, ...props }: AISummaryBlockProps) => React.JSX.Element | null;
|
|
11
11
|
export default AISummaryBlock;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type HoverCardResolvedProps } from './types';
|
|
2
|
-
declare const HoverCardResolvedView: ({ cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick,
|
|
2
|
+
declare const HoverCardResolvedView: ({ cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, titleBlockProps, id, }: HoverCardResolvedProps) => JSX.Element;
|
|
3
3
|
export default HoverCardResolvedView;
|
|
@@ -103,7 +103,6 @@ export type HoverCardContentProps = {
|
|
|
103
103
|
onMouseLeave?: MouseEventHandler;
|
|
104
104
|
onResolve: () => void;
|
|
105
105
|
renderers?: CardProviderRenderers;
|
|
106
|
-
showRovoResolvedView?: boolean;
|
|
107
106
|
url: string;
|
|
108
107
|
};
|
|
109
108
|
export type ContentContainerWidthAppearance = 'default' | 'slim';
|
|
@@ -6,9 +6,6 @@ import type { SendPromptMessageData } from '../../../state/hooks/use-rovo-chat';
|
|
|
6
6
|
import type Action from '../../FlexibleCard/components/actions/action';
|
|
7
7
|
import type { ActionProps } from '../../FlexibleCard/components/actions/action/types';
|
|
8
8
|
export declare enum RovoChatPromptKey {
|
|
9
|
-
RECOMMEND_OTHER_SOURCES = "recommend-other-sources",
|
|
10
|
-
SHOW_OTHER_MENTIONS = "show-other-mentions",
|
|
11
|
-
SUGGEST_IMPROVEMENT = "suggest-improvement",
|
|
12
9
|
SUMMARIZE_LINK = "summarize-link",
|
|
13
10
|
KEY_HIGHLIGHTS = "key-highlights",
|
|
14
11
|
ASK_ROVO_ANYTHING = "ask-rovo-anything",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "45.6.
|
|
3
|
+
"version": "45.6.10",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@atlaskit/textfield": "^9.1.0",
|
|
89
89
|
"@atlaskit/theme": "^26.1.0",
|
|
90
90
|
"@atlaskit/tile": "^2.1.0",
|
|
91
|
-
"@atlaskit/tmp-editor-statsig": "^120.
|
|
91
|
+
"@atlaskit/tmp-editor-statsig": "^120.1.0",
|
|
92
92
|
"@atlaskit/tokens": "^15.3.0",
|
|
93
93
|
"@atlaskit/tooltip": "^23.1.0",
|
|
94
94
|
"@atlaskit/ufo": "^1.0.0",
|