@atlaskit/smart-card 45.22.0 → 45.22.2
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 +12 -0
- package/dist/cjs/state/actions/index.js +5 -5
- package/dist/cjs/state/config/index.js +2 -2
- package/dist/cjs/state/hooks/use-ai-summary-config/index.js +2 -2
- package/dist/cjs/state/hooks/use-control-data-export-config/index.js +2 -2
- package/dist/cjs/state/hooks/use-incoming-outgoing-links/index.js +3 -3
- package/dist/cjs/state/hooks/use-invoke/index.js +2 -2
- package/dist/cjs/state/hooks/use-resolve/index.js +2 -2
- package/dist/cjs/state/hooks/use-resolve-hyperlink/useResolveHyperlinkValidator.js +2 -2
- package/dist/cjs/state/hooks/use-response/index.js +14 -12
- package/dist/cjs/state/hooks/use-rovo-config/index.js +2 -2
- package/dist/cjs/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +2 -2
- package/dist/cjs/state/hooks/usePrefetch.js +4 -4
- package/dist/cjs/state/hooks/useSmartLink.js +2 -2
- package/dist/cjs/state/hooks-external/useSmartLinkActions.js +2 -2
- package/dist/cjs/state/renderers/index.js +2 -2
- package/dist/cjs/state/store/index.js +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/analytics/useSmartLinkAnalyticsContext.js +4 -4
- package/dist/cjs/utils/analytics/useSmartLinkAnalyticsUtils.js +4 -4
- package/dist/cjs/utils/fake-factory.js +2 -2
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.js +2 -2
- package/dist/cjs/view/CardWithUrl/experiment-meta-event-attributes/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/index.js +2 -2
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +2 -2
- package/dist/cjs/view/InlineCard/Icon.js +2 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/index.js +2 -2
- package/dist/es2019/state/actions/index.js +2 -2
- package/dist/es2019/state/config/index.js +1 -1
- package/dist/es2019/state/hooks/use-ai-summary-config/index.js +1 -1
- package/dist/es2019/state/hooks/use-control-data-export-config/index.js +1 -1
- package/dist/es2019/state/hooks/use-incoming-outgoing-links/index.js +1 -1
- package/dist/es2019/state/hooks/use-invoke/index.js +1 -1
- package/dist/es2019/state/hooks/use-resolve/index.js +1 -1
- package/dist/es2019/state/hooks/use-resolve-hyperlink/useResolveHyperlinkValidator.js +1 -1
- package/dist/es2019/state/hooks/use-response/index.js +4 -2
- package/dist/es2019/state/hooks/use-rovo-config/index.js +1 -1
- package/dist/es2019/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +1 -1
- package/dist/es2019/state/hooks/usePrefetch.js +2 -2
- package/dist/es2019/state/hooks/useSmartLink.js +1 -1
- package/dist/es2019/state/hooks-external/useSmartLinkActions.js +1 -1
- package/dist/es2019/state/renderers/index.js +1 -1
- package/dist/es2019/state/store/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/analytics/useSmartLinkAnalyticsContext.js +2 -2
- package/dist/es2019/utils/analytics/useSmartLinkAnalyticsUtils.js +2 -2
- package/dist/es2019/utils/fake-factory.js +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/es2019/view/CardWithUrl/experiment-meta-event-attributes/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/index.js +1 -1
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +1 -1
- package/dist/es2019/view/InlineCard/Icon.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/index.js +1 -1
- package/dist/esm/state/actions/index.js +2 -2
- package/dist/esm/state/config/index.js +1 -1
- package/dist/esm/state/hooks/use-ai-summary-config/index.js +1 -1
- package/dist/esm/state/hooks/use-control-data-export-config/index.js +1 -1
- package/dist/esm/state/hooks/use-incoming-outgoing-links/index.js +1 -1
- package/dist/esm/state/hooks/use-invoke/index.js +1 -1
- package/dist/esm/state/hooks/use-resolve/index.js +1 -1
- package/dist/esm/state/hooks/use-resolve-hyperlink/useResolveHyperlinkValidator.js +1 -1
- package/dist/esm/state/hooks/use-response/index.js +4 -2
- package/dist/esm/state/hooks/use-rovo-config/index.js +1 -1
- package/dist/esm/state/hooks/use-smart-link-cross-product-url-wrapper/index.js +1 -1
- package/dist/esm/state/hooks/usePrefetch.js +2 -2
- package/dist/esm/state/hooks/useSmartLink.js +1 -1
- package/dist/esm/state/hooks-external/useSmartLinkActions.js +1 -1
- package/dist/esm/state/renderers/index.js +1 -1
- package/dist/esm/state/store/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/analytics/useSmartLinkAnalyticsContext.js +2 -2
- package/dist/esm/utils/analytics/useSmartLinkAnalyticsUtils.js +2 -2
- package/dist/esm/utils/fake-factory.js +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/esm/view/CardWithUrl/experiment-meta-event-attributes/index.js +1 -1
- package/dist/esm/view/FlexibleCard/index.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +1 -1
- package/dist/esm/view/InlineCard/Icon.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/index.js +1 -1
- package/dist/types/extractors/common/title-prefix/extractTitlePrefix.d.ts +2 -2
- package/dist/types/extractors/flexible/actions/extract-rovo-chat-action.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/index.d.ts +1 -1
- package/dist/types/extractors/flexible/extract-placeholder-data.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-icon-renderer.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-link-icon.d.ts +1 -1
- package/dist/types/extractors/flexible/icon/extract-smart-link-icon.d.ts +1 -1
- package/dist/types/extractors/inline/index.d.ts +1 -1
- package/dist/types/model/invoke-opts.d.ts +1 -1
- package/dist/types/state/actions/index.d.ts +1 -1
- package/dist/types/state/actions/types.d.ts +1 -1
- package/dist/types/state/config/index.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/types.d.ts +1 -1
- package/dist/types/state/getByDefinitionId.d.ts +1 -1
- package/dist/types/state/hooks/use-ai-summary/ai-summary-service/getXProductHeaderValue.d.ts +1 -1
- package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +1 -1
- package/dist/types/state/hooks/use-ai-summary-config/types.d.ts +1 -1
- package/dist/types/state/hooks/use-control-data-export-config/types.d.ts +1 -1
- package/dist/types/state/hooks/use-embed-rovo-actions-footer-experiment/getEmbedRovoActionsFooterExperimentMeta.d.ts +1 -1
- package/dist/types/state/hooks/use-embed-rovo-actions-footer-experiment/index.d.ts +1 -1
- package/dist/types/state/hooks/use-embed-rovo-actions-footer-experiment/isEmbedRovoActionsFooterExperimentEnabled.d.ts +1 -1
- package/dist/types/state/hooks/use-resolve/index.d.ts +1 -1
- package/dist/types/state/hooks/use-resolve-hyperlink/index.d.ts +1 -1
- package/dist/types/state/hooks/use-response/index.d.ts +2 -1
- package/dist/types/state/hooks/use-rovo-chat/constants.d.ts +1 -1
- package/dist/types/state/hooks/use-rovo-chat/index.d.ts +1 -1
- package/dist/types/state/hooks/use-rovo-config/index.d.ts +1 -1
- package/dist/types/state/hooks/use-smart-link-seen-event/index.d.ts +1 -1
- package/dist/types/state/hooks/usePrefetch.d.ts +1 -1
- package/dist/types/state/hooks/useSmartLink.d.ts +3 -2
- package/dist/types/state/isFinalState.d.ts +1 -1
- package/dist/types/state/renderers/index.d.ts +1 -1
- package/dist/types/state/store/index.d.ts +1 -1
- package/dist/types/utils/create.d.ts +1 -1
- package/dist/types/utils/get-measure.d.ts +1 -1
- package/dist/types/utils/mark.d.ts +1 -1
- package/dist/types/view/BlockCard/types.d.ts +2 -2
- package/dist/types/view/Card/types.d.ts +1 -1
- package/dist/types/view/CardWithUrl/experiment-meta-event-attributes/index.d.ts +2 -1
- package/dist/types/view/EmbedCard/types.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/blocks/filterActionItems.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +3 -2
- package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +1 -1
- package/dist/types/view/HoverCard/types.d.ts +2 -2
- package/dist/types/view/InlineCard/types.d.ts +2 -2
- package/dist/types/view/common/rovo-chat-utils/index.d.ts +1 -1
- package/dist/types/view/types.d.ts +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkPerson } from '@atlaskit/link-extractors/types';
|
|
2
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
2
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
3
3
|
import { type ActionName, type IconType, type InternalActionName, type MediaType } from '../../constants';
|
|
4
4
|
import { type LinkLozenge } from '../../extractors/common/lozenge/types';
|
|
5
5
|
import { type RetryOptions } from '../../view/FlexibleCard/types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardStore } from '@atlaskit/linking-common/store';
|
|
2
2
|
export declare const getByDefinitionId: (definitionId: string | undefined, store: CardStore) => string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EnvironmentsKeys, ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { EnvironmentsKeys, ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export interface AISummaryServiceInt {
|
|
3
3
|
state: AISummaryState;
|
|
4
4
|
subscribe: (stateSetter: StateSetter) => () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
import type { EmbedRovoActionsFooterExperimentMeta } from './index';
|
|
3
3
|
export declare const getEmbedRovoActionsFooterExperimentMeta: ({ extensionKey, isRovoChatActionOptedIn, isRovoChatEnabled, product, }: {
|
|
4
4
|
extensionKey?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
import type { RovoConfig } from '../../../state/hooks/use-rovo-config';
|
|
3
3
|
import type { CardActionOptions } from '../../../view/Card/types';
|
|
4
4
|
export declare const EMBED_ROVO_ACTIONS_FOOTER_EXPERIMENT_KEY = "platform_sl_3p_auth_rovo_embed_footer_exp";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const isEmbedRovoActionsFooterExperimentEnabled: (product?: ProductType) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JsonLd } from '@atlaskit/json-ld-types/jsonld';
|
|
2
|
-
import type { CardState } from '@atlaskit/linking-common';
|
|
2
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
3
3
|
import type { InvokeClientOpts, InvokeServerOpts } from '../../../model/invoke-opts';
|
|
4
4
|
import type { CardInnerAppearance } from '../../../view/Card/types';
|
|
5
5
|
declare const useResolveHyperlink: ({ href, }: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JsonLd } from '@atlaskit/json-ld-types/jsonld';
|
|
2
|
-
import {
|
|
2
|
+
import type { MetadataStatus } from '@atlaskit/linking-common/types';
|
|
3
|
+
import { APIError } from '@atlaskit/linking-common';
|
|
3
4
|
declare const useResponse: () => {
|
|
4
5
|
handleResolvedLinkError: (url: string, error: APIError, response?: JsonLd.Response, isMetadataRequest?: boolean) => void;
|
|
5
6
|
handleResolvedLinkResponse: (resourceUrl: string, response: JsonLd.Response | undefined, isReloading?: boolean, isMetadataRequest?: boolean, metadataStatus?: MetadataStatus) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const JIRA_PRODUCTS: ProductType[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
import type { ChatNewPayload } from '@atlaskit/rovo-triggers/types';
|
|
3
3
|
export type SendPromptMessageData = Partial<ChatNewPayload['data']>;
|
|
4
4
|
declare const useRovoChat: () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
2
2
|
import type { CardProps } from '../../../view/Card';
|
|
3
3
|
type UseSmartLinkSeenEventProps = Pick<CardProps, 'appearance' | 'children' | 'id' | 'ui' | 'url'>;
|
|
4
4
|
type UseSmartLinkSeenEventReturn = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardAppearance } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare function usePrefetch(url: string, appearance?: CardAppearance): () => Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { JsonLd } from '@atlaskit/json-ld-types/jsonld';
|
|
2
|
-
import {
|
|
3
|
-
import type { CardAppearance
|
|
2
|
+
import type { CardAuthFlowOpts, CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
3
|
+
import type { CardAppearance } from '@atlaskit/linking-common/types';
|
|
4
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
4
5
|
import type { InvokeClientOpts, InvokeServerOpts } from '../../model/invoke-opts';
|
|
5
6
|
import type { CardInnerAppearance } from '../../view/Card/types';
|
|
6
7
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const isFinalState: (status: CardType) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardContext } from '@atlaskit/link-provider/types';
|
|
2
2
|
export declare const useSmartLinkRenderers: () => CardContext['renderers'] | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
2
2
|
export declare function useSmartCardState(url: string): CardState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const create: (id: string, status: CardType) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const getMeasure: (id: string, status: CardType) => PerformanceEntry | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
2
2
|
export declare const mark: (id: string, status: CardType) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { CardState } from '@atlaskit/linking-common';
|
|
1
|
+
import type { CardAuthFlowOpts, CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
2
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
3
3
|
import { type InternalCardActionOptions as CardActionOptions, type OnResolveCallback } from '../Card/types';
|
|
4
4
|
import { type OnErrorCallback } from '../types';
|
|
5
5
|
export type BlockCardProps = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
2
2
|
import type { CardPlatform } from '@atlaskit/link-extractors/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { CardAppearance } from '@atlaskit/linking-common/types';
|
|
4
4
|
import type { CardAction } from '../../constants';
|
|
5
5
|
import { type FrameStyle } from '../EmbedCard/types';
|
|
6
6
|
import type { EmbedModalSize } from '../EmbedModal/types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CardAppearance
|
|
1
|
+
import type { CardAppearance } from '@atlaskit/linking-common/types';
|
|
2
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
2
3
|
import type { EmbedRovoActionsFooterExperimentMeta } from '../../../state/hooks/use-embed-rovo-actions-footer-experiment';
|
|
3
4
|
import type { BlockCardSocialProofExperimentMeta, InlineSocialProofExperimentMeta } from '../../../state/hooks/use-social-proof-experiment';
|
|
4
5
|
import type { InternalCardActionOptions } from '../../Card/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
3
3
|
import { type InvokeHandler } from '../../model/invoke-handler';
|
|
4
|
-
import type { CardState } from '@atlaskit/linking-common';
|
|
4
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
5
5
|
import type { InternalCardActionOptions as CardActionOptions, CardPlatform, EmbedIframeUrlType, OnResolveCallback } from '../Card/types';
|
|
6
6
|
import { type OnErrorCallback } from '../types';
|
|
7
7
|
export type EmbedCardProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
1
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
2
2
|
import type { FlexibleUiDataContext } from '../../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type ActionItem } from './types';
|
|
4
4
|
export declare const filterActionItems: (items?: ActionItem[], context?: FlexibleUiDataContext, product?: ProductType) => ActionItem[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
3
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
4
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
4
5
|
import type { SmartLinkResponse } from '@atlaskit/linking-types/smart-link';
|
|
5
6
|
import { type FireEventFunction } from '../../common/analytics/types';
|
|
6
7
|
import { type SmartLinkSize, type SmartLinkStatus, type SmartLinkTheme } from '../../constants';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
2
2
|
import type { ActionName } from '../../../../../constants';
|
|
3
3
|
import { type LinkAction } from '../../../../../state/hooks-external/useSmartLinkActions';
|
|
4
4
|
import type { InternalCardActionOptions } from '../../../../Card/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type MouseEventHandler, type ReactElement } from 'react';
|
|
2
2
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
4
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
5
5
|
import type { SmartLinkResponse } from '@atlaskit/linking-types/smart-link';
|
|
6
6
|
import type { ActionName } from '../../constants';
|
|
7
7
|
import { type AnalyticsHandler } from '../../utils/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type EventHandler, type KeyboardEvent, type MouseEvent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import type { CardState } from '@atlaskit/linking-common';
|
|
2
|
+
import type { CardProviderRenderers } from '@atlaskit/link-provider/types';
|
|
3
|
+
import type { CardState } from '@atlaskit/linking-common/store';
|
|
4
4
|
import type { InternalCardActionOptions as CardActionOptions, OnResolveCallback } from '../Card/types';
|
|
5
5
|
import { type HoverPreviewOptions } from '../HoverCard/types';
|
|
6
6
|
import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type IntlShape } from 'react-intl';
|
|
3
|
-
import type { ProductType } from '@atlaskit/linking-common';
|
|
3
|
+
import type { ProductType } from '@atlaskit/linking-common/types';
|
|
4
4
|
import { CardDisplay } from '../../../constants';
|
|
5
5
|
import type { SendPromptMessageData } from '../../../state/hooks/use-rovo-chat';
|
|
6
6
|
import type Action from '../../FlexibleCard/components/actions/action';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Appearance } from '@atlaskit/button/old-button/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { CardType } from '@atlaskit/linking-common/types';
|
|
3
3
|
import { type RequestAccessMessageKey } from '../messages';
|
|
4
4
|
export interface WithShowControlMethodProp {
|
|
5
5
|
showControls?: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "45.22.
|
|
3
|
+
"version": "45.22.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/link-test-helpers": "^11.2.0",
|
|
67
67
|
"@atlaskit/linking-common": "^12.1.0",
|
|
68
68
|
"@atlaskit/linking-types": "^15.3.0",
|
|
69
|
-
"@atlaskit/logo": "^
|
|
69
|
+
"@atlaskit/logo": "^23.0.0",
|
|
70
70
|
"@atlaskit/lozenge": "^15.4.0",
|
|
71
71
|
"@atlaskit/menu": "^10.2.0",
|
|
72
72
|
"@atlaskit/modal-dialog": "^16.6.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@atlaskit/popup": "^6.3.0",
|
|
80
80
|
"@atlaskit/primitives": "^22.5.0",
|
|
81
81
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
82
|
-
"@atlaskit/react-ufo": "^7.
|
|
83
|
-
"@atlaskit/rovo-triggers": "^10.
|
|
82
|
+
"@atlaskit/react-ufo": "^7.10.0",
|
|
83
|
+
"@atlaskit/rovo-triggers": "^10.36.0",
|
|
84
84
|
"@atlaskit/section-message": "^10.2.0",
|
|
85
85
|
"@atlaskit/select": "^22.11.0",
|
|
86
86
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/textfield": "^10.2.0",
|
|
91
91
|
"@atlaskit/theme": "^28.2.0",
|
|
92
92
|
"@atlaskit/tile": "^4.1.0",
|
|
93
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
93
|
+
"@atlaskit/tmp-editor-statsig": "^189.0.0",
|
|
94
94
|
"@atlaskit/tokens": "^16.12.0",
|
|
95
95
|
"@atlaskit/tooltip": "^24.3.0",
|
|
96
96
|
"@atlaskit/ufo": "^1.2.0",
|
|
@@ -149,8 +149,8 @@
|
|
|
149
149
|
"fetch-mock": "^8.0.0",
|
|
150
150
|
"jest-extended": "^4.0.2",
|
|
151
151
|
"jest-fetch-mock": "^3.0.3",
|
|
152
|
-
"jest-mock": "^
|
|
153
|
-
"jsdom": "^
|
|
152
|
+
"jest-mock": "^30.5.1",
|
|
153
|
+
"jsdom": "^26.1.0",
|
|
154
154
|
"lorem-ipsum": "^1.0.6",
|
|
155
155
|
"react": "^18.2.0",
|
|
156
156
|
"react-ace": "^6.1.0",
|