@atlaskit/smart-card 45.13.2 → 45.13.3

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 (31) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/LinkUrl/index.js +1 -1
  4. package/dist/es2019/utils/analytics/analytics.js +1 -1
  5. package/dist/es2019/view/LinkUrl/index.js +1 -1
  6. package/dist/esm/utils/analytics/analytics.js +1 -1
  7. package/dist/esm/view/LinkUrl/index.js +1 -1
  8. package/dist/types/common/ui/icons/utils.d.ts +2 -2
  9. package/dist/types/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
  10. package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -1
  11. package/dist/types/state/analytics/useLinkClicked.d.ts +1 -1
  12. package/dist/types/state/config/index.d.ts +1 -1
  13. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +1 -1
  14. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/utils.d.ts +1 -1
  15. package/dist/types/state/hooks/use-embed-rovo-actions-footer-experiment/index.d.ts +1 -1
  16. package/dist/types/state/renderers/index.d.ts +1 -1
  17. package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +1 -1
  18. package/dist/types/utils/analytics/click.d.ts +2 -2
  19. package/dist/types/utils/index.d.ts +1 -1
  20. package/dist/types/utils/mocks.d.ts +3 -3
  21. package/dist/types/utils/rovo.d.ts +1 -1
  22. package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
  23. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/messages.d.ts +31 -31
  24. package/dist/types/view/FlexibleCard/components/actions/utils.d.ts +1 -1
  25. package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.d.ts +1 -1
  26. package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +1 -1
  27. package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +1 -1
  28. package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +1 -1
  29. package/dist/types/view/InlineCard/utils/withFrameStyleControl.d.ts +2 -2
  30. package/dist/types/view/common/rovo-chat-utils/index.d.ts +1 -1
  31. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 45.13.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 45.13.2
4
10
 
5
11
  ### Patch Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card" || '',
14
- packageVersion: "45.13.1" || ''
14
+ packageVersion: "45.13.2" || ''
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
19
19
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
20
  var PACKAGE_DATA = {
21
21
  packageName: "@atlaskit/smart-card",
22
- packageVersion: "45.13.1",
22
+ packageVersion: "45.13.2",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var LinkUrl = function LinkUrl(_ref) {
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card" || '',
5
- packageVersion: "45.13.1" || ''
5
+ packageVersion: "45.13.2" || ''
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "45.13.1",
12
+ packageVersion: "45.13.2",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const LinkUrl = ({
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card" || '',
7
- packageVersion: "45.13.1" || ''
7
+ packageVersion: "45.13.2" || ''
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "45.13.1",
15
+ packageVersion: "45.13.2",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var LinkUrl = function LinkUrl(_ref) {
@@ -14,7 +14,7 @@ export declare const transformSmartLinkSizeToIconTileSize: (size?: SmartLinkSize
14
14
  /**
15
15
  * For large/xlarge smart-link icon size, renders an `@atlaskit/object/tile/*` component; otherwise a standard `@atlaskit/object` glyph.
16
16
  */
17
- export declare const renderIconPerSize: (ObjectIcon: ComponentType<ObjectProps>, ObjectTileIcon: ComponentType<ObjectTileProps>) => React.FC<Omit<ObjectProps, "size"> & {
17
+ export declare const renderIconPerSize: (ObjectIcon: ComponentType<ObjectProps>, ObjectTileIcon: ComponentType<ObjectTileProps>) => React.FC<Omit<ObjectProps, 'size'> & {
18
18
  size?: SmartLinkSize;
19
19
  }>;
20
- export declare const renderIconTile: (Icon: IconTileProps["icon"], appearance: IconTileProps["appearance"]) => React.FC<AtlaskitIconTileProps>;
20
+ export declare const renderIconTile: (Icon: IconTileProps['icon'], appearance: IconTileProps['appearance']) => React.FC<AtlaskitIconTileProps>;
@@ -2,4 +2,4 @@ import { type JsonLd } from '@atlaskit/json-ld-types';
2
2
  import { type AISummaryActionData } from '../../../state/flexible-ui-context/types';
3
3
  import { type AISummaryConfig } from '../../../state/hooks/use-ai-summary-config/types';
4
4
  import { type InternalCardActionOptions as CardActionOptions } from '../../../view/Card/types';
5
- export declare const extractAISummaryAction: (response: JsonLd.Response, url?: string, actionOptions?: CardActionOptions, aiSummaryConfig?: Pick<AISummaryConfig, "isAdminHubAIEnabled">) => AISummaryActionData | undefined;
5
+ export declare const extractAISummaryAction: (response: JsonLd.Response, url?: string, actionOptions?: CardActionOptions, aiSummaryConfig?: Pick<AISummaryConfig, 'isAdminHubAIEnabled'>) => AISummaryActionData | undefined;
@@ -15,6 +15,6 @@ import { type IconDescriptor } from './types';
15
15
  * @param providerId JSON-LD provider (generator ID)
16
16
  * @returns an icon descriptor representing the document type
17
17
  */
18
- declare const extractDocumentTypeIcon: (documentType: JsonLd.Primitives.ObjectType | "atlassian:Template", label?: string, // NAVX-4354: remove this during cleanup
18
+ declare const extractDocumentTypeIcon: (documentType: JsonLd.Primitives.ObjectType | 'atlassian:Template', label?: string, // NAVX-4354: remove this during cleanup
19
19
  providerId?: string) => IconDescriptor | undefined;
20
20
  export default extractDocumentTypeIcon;
@@ -4,7 +4,7 @@ export declare enum ClickButton {
4
4
  Middle = 1,
5
5
  Right = 2
6
6
  }
7
- export declare const useLinkClicked: <T extends Exclude<LinkProps["onClick"], undefined>>(
7
+ export declare const useLinkClicked: <T extends Exclude<LinkProps['onClick'], undefined>>(
8
8
  /**
9
9
  * Handler to
10
10
  */
@@ -1,2 +1,2 @@
1
1
  import { type CardContext } from '@atlaskit/link-provider';
2
- export declare const useSmartLinkConfig: () => CardContext["config"] | undefined;
2
+ export declare const useSmartLinkConfig: () => CardContext['config'] | undefined;
@@ -49,7 +49,7 @@ export type FeatureInputContext = {
49
49
  };
50
50
  export type PromptId = 'smart_links';
51
51
  export type SummaryOutputMimeType = 'text/adf' | 'text/markdown' | 'text/json';
52
- export declare const errorMessages: readonly ["NETWORK_ERROR", "NO_ANSWER", "RATE_LIMIT", "NO_AGENT", "PLUGIN_ERRORED", "OPENAI_RATE_LIMIT_USER_ABUSE", "ACCEPTABLE_USE_VIOLATIONS", "AI_DISABLED", "UNEXPECTED", "HIPAA_CONTENT_DETECTED", "EXCEEDING_CONTEXT_LENGTH_ERROR"];
52
+ export declare const errorMessages: readonly ['NETWORK_ERROR', 'NO_ANSWER', 'RATE_LIMIT', 'NO_AGENT', 'PLUGIN_ERRORED', 'OPENAI_RATE_LIMIT_USER_ABUSE', 'ACCEPTABLE_USE_VIOLATIONS', 'AI_DISABLED', 'UNEXPECTED', 'HIPAA_CONTENT_DETECTED', 'EXCEEDING_CONTEXT_LENGTH_ERROR'];
53
53
  export type ErrorMessage = (typeof errorMessages)[number];
54
54
  export type AISummaryState = {
55
55
  content: string;
@@ -6,4 +6,4 @@ export declare const addPath: (baseUrl: string, path: string) => string;
6
6
  *
7
7
  * @see https://developer.atlassian.com/platform/assistance-service/security/entitlements/#approach
8
8
  */
9
- export declare const getXProductHeaderValue: (product: ProductType | undefined) => "CONFLUENCE" | "ATLAS" | "BITBUCKET" | "TRELLO" | "CSM" | "JSM" | "JPD" | "ELEVATE" | "JIRA-SOFTWARE" | "JIRA-CORE" | undefined;
9
+ export declare const getXProductHeaderValue: (product: ProductType | undefined) => 'CONFLUENCE' | 'ATLAS' | 'BITBUCKET' | 'TRELLO' | 'CSM' | 'JSM' | 'JPD' | 'ELEVATE' | 'JIRA-SOFTWARE' | 'JIRA-CORE' | undefined;
@@ -19,5 +19,5 @@ export declare const getEmbedRovoActionsFooterExperimentMeta: ({ extensionKey, i
19
19
  isRovoChatEnabled: boolean;
20
20
  product?: ProductType;
21
21
  }) => EmbedRovoActionsFooterExperimentMeta | undefined;
22
- declare const useEmbedRovoActionsFooterExperiment: (url?: string, actionOptions?: CardActionOptions, rovoOptions?: RovoConfig["rovoOptions"], product?: ProductType) => EmbedRovoActionsFooterExperiment;
22
+ declare const useEmbedRovoActionsFooterExperiment: (url?: string, actionOptions?: CardActionOptions, rovoOptions?: RovoConfig['rovoOptions'], product?: ProductType) => EmbedRovoActionsFooterExperiment;
23
23
  export default useEmbedRovoActionsFooterExperiment;
@@ -1,2 +1,2 @@
1
1
  import { type CardContext } from '@atlaskit/link-provider';
2
- export declare const useSmartLinkRenderers: () => CardContext["renderers"] | undefined;
2
+ export declare const useSmartLinkRenderers: () => CardContext['renderers'] | undefined;
@@ -29,7 +29,7 @@ export declare const useSmartLinkAnalyticsUtils: () => UseSmartLinkAnalyticsUtil
29
29
  * and the link state in the store
30
30
  * @deprecated Use useSmartLinkAnalyticsUtils instead
31
31
  */
32
- export declare const useSmartLinkAnalyticsContext: ({ display, id, source, url, }: Exclude<SmartLinkAnalyticsContextProps, "children">) => SmartLinkAnalyticsContextType | undefined;
32
+ export declare const useSmartLinkAnalyticsContext: ({ display, id, source, url, }: Exclude<SmartLinkAnalyticsContextProps, 'children'>) => SmartLinkAnalyticsContextType | undefined;
33
33
  /**
34
34
  * Provides an analytics context to supply attributes to events based on a URL
35
35
  * and the link state in the store
@@ -5,13 +5,13 @@ import { type LinkProps } from '@atlaskit/link';
5
5
  import { type AnalyticsPayload } from '../types';
6
6
  import { type ClickOutcome, type ClickType, type UiLinkClickedEventProps } from './types';
7
7
  export declare const buttonMap: Map<number | undefined, 'middle' | 'none' | 'left' | 'right'>;
8
- export declare const getKeys: (e: React.MouseEvent) => ("meta" | "alt" | "shift" | "ctrl")[];
8
+ export declare const getKeys: (e: React.MouseEvent) => ('meta' | 'alt' | 'shift' | 'ctrl')[];
9
9
  export declare function getLinkClickOutcome(e: React.MouseEvent, clickType: ClickType): ClickOutcome;
10
10
  export declare const createLinkClickedPayload: (event: React.MouseEvent) => AnalyticsPayload | undefined;
11
11
  type DeepPartial<T> = T extends object ? {
12
12
  [P in keyof T]?: DeepPartial<T[P]>;
13
13
  } : T;
14
- export declare const fireLinkClickedEvent: (createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent) => ((event: React.MouseEvent, overrides?: DeepPartial<Omit<GasPayload, "attributes"> & {
14
+ export declare const fireLinkClickedEvent: (createAnalyticsEvent: (payload: AnalyticsEventPayload) => UIAnalyticsEvent) => ((event: React.MouseEvent, overrides?: DeepPartial<Omit<GasPayload, 'attributes'> & {
15
15
  attributes: UiLinkClickedEventProps;
16
16
  }>) => void);
17
17
  export declare function withLinkClickedEvent<Component extends Extract<React.ElementType, 'a'> | React.ComponentType<LinkProps>>(WrappedComponent: Component): {
@@ -21,7 +21,7 @@ export declare const getLazyIcons: () => Partial<Record<IconType, {
21
21
  default: () => Promise<unknown>;
22
22
  large?: () => Promise<unknown>;
23
23
  }>>;
24
- export declare const getIframeSandboxAttribute: (isTrusted: boolean) => "allow-downloads allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts" | undefined;
24
+ export declare const getIframeSandboxAttribute: (isTrusted: boolean) => 'allow-downloads allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts' | undefined;
25
25
  export declare const handleOnClick: (handler: Function) => (e: React.BaseSyntheticEvent) => void;
26
26
  export declare const isIntersectionObserverSupported: () => boolean;
27
27
  export declare const sleep: (ms: number) => Promise<void>;
@@ -1,9 +1,9 @@
1
1
  import { type JsonLd } from '@atlaskit/json-ld-types';
2
2
  import { type SmartLinkResponse } from '@atlaskit/linking-types';
3
3
  export declare const mockContext: {
4
- readonly '@vocab': "https://www.w3.org/ns/activitystreams#";
5
- readonly atlassian: "https://schema.atlassian.com/ns/vocabulary#";
6
- readonly schema: "http://schema.org/";
4
+ readonly '@vocab': 'https://www.w3.org/ns/activitystreams#';
5
+ readonly atlassian: 'https://schema.atlassian.com/ns/vocabulary#';
6
+ readonly schema: 'http://schema.org/';
7
7
  };
8
8
  export declare const mockGenerator: {
9
9
  '@type': string;
@@ -1,2 +1,2 @@
1
1
  import type { RovoConfig } from '../state/hooks/use-rovo-config';
2
- export declare const getIsRovoChatEnabled: (rovoConfig?: RovoConfig["rovoOptions"]) => boolean;
2
+ export declare const getIsRovoChatEnabled: (rovoConfig?: RovoConfig['rovoOptions']) => boolean;
@@ -7,5 +7,5 @@ interface IFrameProps {
7
7
  /**
8
8
  * Iframe element isolated for DI purposes
9
9
  */
10
- export declare const IFrame: ({ childRef, className, extensionKey, ...props }: React.ComponentProps<"iframe"> & IFrameProps) => React.JSX.Element;
10
+ export declare const IFrame: ({ childRef, className, extensionKey, ...props }: React.ComponentProps<'iframe'> & IFrameProps) => React.JSX.Element;
11
11
  export {};
@@ -1,58 +1,58 @@
1
1
  declare const messages: {
2
2
  readonly successFlag: {
3
- readonly id: "automation-platform.common.success-flag";
4
- readonly defaultMessage: "Your automation is in progress";
5
- readonly description: "Text for a success flag when an automation rule has been triggered";
3
+ readonly id: 'automation-platform.common.success-flag';
4
+ readonly defaultMessage: 'Your automation is in progress';
5
+ readonly description: 'Text for a success flag when an automation rule has been triggered';
6
6
  };
7
7
  readonly failureFlagTitle: {
8
- readonly id: "automation-platform.common.failure-flag-title";
9
- readonly defaultMessage: "Oops we ran into a problem";
10
- readonly description: "Title for an error flag when an automation rule failed to be triggered";
8
+ readonly id: 'automation-platform.common.failure-flag-title';
9
+ readonly defaultMessage: 'Oops we ran into a problem';
10
+ readonly description: 'Title for an error flag when an automation rule failed to be triggered';
11
11
  };
12
12
  readonly failureFlagDescription: {
13
- readonly id: "automation-platform.common.failure-flag-description";
13
+ readonly id: 'automation-platform.common.failure-flag-description';
14
14
  readonly defaultMessage: "There was a problem and we couldn't run the automation '{0}'";
15
- readonly description: "Description for an error flag when an automation rule failed to be triggered";
15
+ readonly description: 'Description for an error flag when an automation rule failed to be triggered';
16
16
  };
17
17
  readonly partialFailureFlagDescription: {
18
- readonly id: "automation-platform.common.partial-failure-flag-description";
18
+ readonly id: 'automation-platform.common.partial-failure-flag-description';
19
19
  readonly defaultMessage: "Couldn't run the automation against issues {0}, please ensure you have permission to view these issues";
20
- readonly description: "Description for an error flag when some issues failed to invoke because user does not have view permission";
20
+ readonly description: 'Description for an error flag when some issues failed to invoke because user does not have view permission';
21
21
  };
22
22
  readonly errorInputMustNotBeEmpty: {
23
- readonly id: "automation-platform.common.error-input-must-not-be-empty";
24
- readonly defaultMessage: "Input must not be empty";
25
- readonly description: "The error message to show the value of a required field is empty";
23
+ readonly id: 'automation-platform.common.error-input-must-not-be-empty';
24
+ readonly defaultMessage: 'Input must not be empty';
25
+ readonly description: 'The error message to show the value of a required field is empty';
26
26
  };
27
27
  readonly errorInputCharacterLimitReached: {
28
- readonly id: "automation-platform.common.error-input-character-limit-reached";
29
- readonly defaultMessage: "Provided value exceeds the character limit for the field.";
30
- readonly description: "The error message to show that the character limit has been reached for the field";
28
+ readonly id: 'automation-platform.common.error-input-character-limit-reached';
29
+ readonly defaultMessage: 'Provided value exceeds the character limit for the field.';
30
+ readonly description: 'The error message to show that the character limit has been reached for the field';
31
31
  };
32
32
  readonly inputRequiredForAction: {
33
- readonly id: "automation-platform.common.input-required-for-action";
34
- readonly defaultMessage: "Your input is required to complete this action";
35
- readonly description: "The title of the modal for user inputs";
33
+ readonly id: 'automation-platform.common.input-required-for-action';
34
+ readonly defaultMessage: 'Your input is required to complete this action';
35
+ readonly description: 'The title of the modal for user inputs';
36
36
  };
37
37
  readonly errorInputTypeIsNotSupported: {
38
- readonly id: "automation-platform.common.error-input-type-is-not-supported";
39
- readonly defaultMessage: "Input type not supported yet";
40
- readonly description: "The error message to show when the type of user input is not recognised";
38
+ readonly id: 'automation-platform.common.error-input-type-is-not-supported';
39
+ readonly defaultMessage: 'Input type not supported yet';
40
+ readonly description: 'The error message to show when the type of user input is not recognised';
41
41
  };
42
42
  readonly errorValueIsNotValidNumber: {
43
- readonly id: "automation-platform.common.error-value-is-not-valid-number";
44
- readonly defaultMessage: "The value is not a valid number";
45
- readonly description: "The error message for when the type of user input is number but the value is not a valid number";
43
+ readonly id: 'automation-platform.common.error-value-is-not-valid-number';
44
+ readonly defaultMessage: 'The value is not a valid number';
45
+ readonly description: 'The error message for when the type of user input is number but the value is not a valid number';
46
46
  };
47
47
  readonly cancelButtonTitle: {
48
- readonly id: "automation-platform.common.cancel-button-title";
49
- readonly defaultMessage: "Cancel";
50
- readonly description: "The cancel button title";
48
+ readonly id: 'automation-platform.common.cancel-button-title';
49
+ readonly defaultMessage: 'Cancel';
50
+ readonly description: 'The cancel button title';
51
51
  };
52
52
  readonly continueButtonTitle: {
53
- readonly id: "automation-platform.common.continue-button-title";
54
- readonly defaultMessage: "Continue";
55
- readonly description: "The continue button title";
53
+ readonly id: 'automation-platform.common.continue-button-title';
54
+ readonly defaultMessage: 'Continue';
55
+ readonly description: 'The continue button title';
56
56
  };
57
57
  };
58
58
  export default messages;
@@ -2,6 +2,6 @@ export type BaseActionProps = {
2
2
  appearance?: 'default' | 'subtle';
3
3
  };
4
4
  export declare const toActionProps: (props?: BaseActionProps) => {
5
- appearance: "default" | "subtle";
5
+ appearance: 'default' | 'subtle';
6
6
  icon: undefined;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const RelatedLinksActionIcon: ({ iconSize, }: {
3
- iconSize?: "small" | "medium";
3
+ iconSize?: 'small' | 'medium';
4
4
  }) => React.JSX.Element;
5
5
  export default RelatedLinksActionIcon;
@@ -4,6 +4,6 @@ import type { ActionBlockProps } from './types';
4
4
  * Get container padding based on smart link size
5
5
  * To replace container/index.tsx getPadding() with space token for primitives
6
6
  */
7
- export declare const getPrimitivesPaddingSpaceBySize: (size: SmartLinkSize) => "var(--ds-space-100)" | "var(--ds-space-200)" | "var(--ds-space-250)" | "var(--ds-space-300)";
7
+ export declare const getPrimitivesPaddingSpaceBySize: (size: SmartLinkSize) => 'var(--ds-space-100)' | 'var(--ds-space-200)' | 'var(--ds-space-250)' | 'var(--ds-space-300)';
8
8
  declare const ActionBlock: ({ blockRef, onClick: onClickCallback, size, spaceInline, className, testId, }: ActionBlockProps) => JSX.Element | null;
9
9
  export default ActionBlock;
@@ -42,4 +42,4 @@ export type BaseDateTimeElementProps = ElementProps & {
42
42
  */
43
43
  declare const BaseDateTimeElement: ({ date, name, className, type, testId, text, hideDatePrefix, color, fontSize, timeZone, }: BaseDateTimeElementProps) => JSX.Element | null;
44
44
  export default BaseDateTimeElement;
45
- export declare const toDateTimeProps: (type: "created" | "modified" | "sent", dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
45
+ export declare const toDateTimeProps: (type: 'created' | 'modified' | 'sent', dateString?: string) => Partial<BaseDateTimeElementProps> | undefined;
@@ -52,7 +52,7 @@ export type BaseIconElementProps = ElementProps & {
52
52
  */
53
53
  declare const IconElement: ({ icon, overrideIcon, label: labelProp, name, position, className, render, size, testId, url, appearance, hideLoadingSkeleton, isTiledIcon, }: BaseIconElementProps) => JSX.Element;
54
54
  export default IconElement;
55
- export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof FlexibleUiDataContext] | undefined, type: FlexibleUiDataContext["type"]) => string[] | FlexibleUiActions | PreviewActionData | LinkPerson[] | LinkTitle | LinkLocation | {
55
+ export declare const toLinkIconProps: (data: FlexibleUiDataContext[keyof FlexibleUiDataContext] | undefined, type: FlexibleUiDataContext['type']) => string[] | FlexibleUiActions | PreviewActionData | LinkPerson[] | LinkTitle | LinkLocation | {
56
56
  accessType?: string;
57
57
  objectId?: string;
58
58
  resourceType?: string;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
+ export default _default;
2
3
  /**
3
4
  * This HOC serves as a temporary workaround for controlling the style of a parent component.
4
5
  * We do not want the Frame to have a hover state when hovering over the action button.
5
6
  * TODO: When Firefox begins supporting the :has()pseudo-selector (e.g "frame:has(button:hover){...}"),
6
7
  * it should be used instead and the code should be cleaned up.
7
8
  */
8
- declare const _default: (Button: any, frameRef: React.RefObject<HTMLSpanElement>) => (props: any) => React.JSX.Element;
9
- export default _default;
9
+ declare function _default(Button: any, frameRef: React.RefObject<HTMLSpanElement>): (props: any) => React.JSX.Element;
@@ -31,7 +31,7 @@ type PromptActionProps = {
31
31
  provider?: string;
32
32
  url?: string;
33
33
  };
34
- export declare const getPromptAction: ({ promptKey, intl, url, product, iconSize, cardAppearance, provider, }: PromptActionProps) => (Pick<React.ComponentProps<typeof Action>, "content" | "icon" | "tooltipMessage"> & {
34
+ export declare const getPromptAction: ({ promptKey, intl, url, product, iconSize, cardAppearance, provider, }: PromptActionProps) => (Pick<React.ComponentProps<typeof Action>, 'content' | 'icon' | 'tooltipMessage'> & {
35
35
  data: SendPromptMessageData;
36
36
  }) | undefined;
37
37
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "45.13.2",
3
+ "version": "45.13.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,14 +40,14 @@
40
40
  "@atlaskit/analytics-cross-product": "^2.1.0",
41
41
  "@atlaskit/analytics-gas-types": "^6.0.0",
42
42
  "@atlaskit/analytics-next": "^12.3.0",
43
- "@atlaskit/avatar": "^26.2.0",
44
- "@atlaskit/avatar-group": "^13.1.0",
43
+ "@atlaskit/avatar": "^26.3.0",
44
+ "@atlaskit/avatar-group": "^13.2.0",
45
45
  "@atlaskit/badge": "^19.1.0",
46
46
  "@atlaskit/browser-apis": "^1.2.0",
47
47
  "@atlaskit/button": "^24.3.0",
48
48
  "@atlaskit/checkbox": "^18.2.0",
49
49
  "@atlaskit/css": "^1.0.0",
50
- "@atlaskit/dropdown-menu": "^17.1.0",
50
+ "@atlaskit/dropdown-menu": "^17.2.0",
51
51
  "@atlaskit/embedded-confluence": "^6.2.0",
52
52
  "@atlaskit/feature-gate-js-client": "^6.0.0",
53
53
  "@atlaskit/flag": "^18.2.0",
@@ -69,28 +69,28 @@
69
69
  "@atlaskit/logo": "^21.4.0",
70
70
  "@atlaskit/lozenge": "^14.1.0",
71
71
  "@atlaskit/menu": "^9.2.0",
72
- "@atlaskit/modal-dialog": "^16.1.0",
72
+ "@atlaskit/modal-dialog": "^16.2.0",
73
73
  "@atlaskit/motion": "^7.5.0",
74
74
  "@atlaskit/object": "^2.2.0",
75
75
  "@atlaskit/outbound-auth-flow-client": "^4.1.0",
76
76
  "@atlaskit/platform-feature-flags": "^2.1.0",
77
77
  "@atlaskit/platform-feature-flags-react": "^1.1.0",
78
- "@atlaskit/popup": "^5.1.0",
78
+ "@atlaskit/popup": "^5.2.0",
79
79
  "@atlaskit/primitives": "^22.2.0",
80
80
  "@atlaskit/react-compiler-gating": "^0.2.0",
81
81
  "@atlaskit/react-ufo": "^7.3.0",
82
82
  "@atlaskit/rovo-triggers": "^10.2.0",
83
83
  "@atlaskit/section-message": "^9.2.0",
84
- "@atlaskit/select": "^22.5.0",
84
+ "@atlaskit/select": "^22.6.0",
85
85
  "@atlaskit/spinner": "^20.1.0",
86
86
  "@atlaskit/tag": "^15.4.0",
87
87
  "@atlaskit/textarea": "^9.1.0",
88
88
  "@atlaskit/textfield": "^9.1.0",
89
89
  "@atlaskit/theme": "^26.1.0",
90
90
  "@atlaskit/tile": "^2.3.0",
91
- "@atlaskit/tmp-editor-statsig": "^134.0.0",
91
+ "@atlaskit/tmp-editor-statsig": "^135.0.0",
92
92
  "@atlaskit/tokens": "^16.3.0",
93
- "@atlaskit/tooltip": "^23.1.0",
93
+ "@atlaskit/tooltip": "^23.2.0",
94
94
  "@atlaskit/ufo": "^1.0.0",
95
95
  "@atlaskit/width-detector": "^6.2.0",
96
96
  "@babel/runtime": "^7.0.0",