@atlaskit/smart-card 26.58.0 → 26.59.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 (75) hide show
  1. package/CHANGELOG.md +3539 -1953
  2. package/dist/cjs/extractors/common/icon/extractIcon.js +11 -0
  3. package/dist/cjs/extractors/common/icon/extractIconFromDocument.js +20 -0
  4. package/dist/cjs/extractors/common/icon/extractIconFromTask.js +8 -0
  5. package/dist/cjs/extractors/common/icon/prioritiseIcon.js +40 -0
  6. package/dist/cjs/extractors/common/icon/priority.js +3 -0
  7. package/dist/cjs/extractors/common/lozenge/extractState.js +47 -9
  8. package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +15 -0
  9. package/dist/cjs/extractors/flexible/icon/extract-provider-icon.js +10 -0
  10. package/dist/cjs/extractors/flexible/icon/extract-url-icon.js +7 -0
  11. package/dist/cjs/utils/analytics/analytics.js +1 -1
  12. package/dist/cjs/view/BlockCard/views/ResolvedView.js +10 -6
  13. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +17 -10
  14. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/index.js +2 -0
  15. package/dist/cjs/view/InlineCard/ResolvedView/index.js +3 -1
  16. package/dist/cjs/view/LinkUrl/index.js +1 -1
  17. package/dist/es2019/extractors/common/icon/extractIcon.js +11 -0
  18. package/dist/es2019/extractors/common/icon/extractIconFromDocument.js +22 -0
  19. package/dist/es2019/extractors/common/icon/extractIconFromTask.js +9 -0
  20. package/dist/es2019/extractors/common/icon/prioritiseIcon.js +29 -0
  21. package/dist/es2019/extractors/common/icon/priority.js +3 -0
  22. package/dist/es2019/extractors/common/lozenge/extractState.js +49 -10
  23. package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +15 -0
  24. package/dist/es2019/extractors/flexible/icon/extract-provider-icon.js +11 -0
  25. package/dist/es2019/extractors/flexible/icon/extract-url-icon.js +8 -0
  26. package/dist/es2019/utils/analytics/analytics.js +1 -1
  27. package/dist/es2019/view/BlockCard/views/ResolvedView.js +11 -7
  28. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +16 -10
  29. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +2 -0
  30. package/dist/es2019/view/InlineCard/ResolvedView/index.js +3 -1
  31. package/dist/es2019/view/LinkUrl/index.js +1 -1
  32. package/dist/esm/extractors/common/icon/extractIcon.js +11 -0
  33. package/dist/esm/extractors/common/icon/extractIconFromDocument.js +20 -0
  34. package/dist/esm/extractors/common/icon/extractIconFromTask.js +9 -0
  35. package/dist/esm/extractors/common/icon/prioritiseIcon.js +34 -0
  36. package/dist/esm/extractors/common/icon/priority.js +3 -0
  37. package/dist/esm/extractors/common/lozenge/extractState.js +49 -10
  38. package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +15 -0
  39. package/dist/esm/extractors/flexible/icon/extract-provider-icon.js +11 -0
  40. package/dist/esm/extractors/flexible/icon/extract-url-icon.js +8 -0
  41. package/dist/esm/utils/analytics/analytics.js +1 -1
  42. package/dist/esm/view/BlockCard/views/ResolvedView.js +11 -7
  43. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +16 -10
  44. package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +2 -0
  45. package/dist/esm/view/InlineCard/ResolvedView/index.js +3 -1
  46. package/dist/esm/view/LinkUrl/index.js +1 -1
  47. package/dist/types/extractors/common/icon/extractIcon.d.ts +3 -3
  48. package/dist/types/extractors/common/icon/extractIconFromDocument.d.ts +8 -1
  49. package/dist/types/extractors/common/icon/extractIconFromTask.d.ts +8 -0
  50. package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +40 -0
  51. package/dist/types/extractors/common/icon/priority.d.ts +3 -0
  52. package/dist/types/extractors/common/lozenge/types.d.ts +3 -0
  53. package/dist/types/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -1
  54. package/dist/types/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +5 -2
  55. package/dist/types/extractors/flexible/icon/extract-provider-icon.d.ts +10 -0
  56. package/dist/types/extractors/flexible/icon/extract-url-icon.d.ts +7 -0
  57. package/dist/types/extractors/flexible/icon/types.d.ts +3 -0
  58. package/dist/types/types.d.ts +2 -0
  59. package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +4 -3
  60. package/dist/types/view/FlexibleCard/components/elements/lozenge/types.d.ts +5 -0
  61. package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +3 -3
  62. package/dist/types-ts4.5/extractors/common/icon/extractIconFromDocument.d.ts +8 -1
  63. package/dist/types-ts4.5/extractors/common/icon/extractIconFromTask.d.ts +8 -0
  64. package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +40 -0
  65. package/dist/types-ts4.5/extractors/common/icon/priority.d.ts +3 -0
  66. package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +3 -0
  67. package/dist/types-ts4.5/extractors/flexible/icon/extract-document-type-icon.d.ts +1 -1
  68. package/dist/types-ts4.5/extractors/flexible/icon/extract-jsonld-data-icon.d.ts +5 -2
  69. package/dist/types-ts4.5/extractors/flexible/icon/extract-provider-icon.d.ts +10 -0
  70. package/dist/types-ts4.5/extractors/flexible/icon/extract-url-icon.d.ts +7 -0
  71. package/dist/types-ts4.5/extractors/flexible/icon/types.d.ts +3 -0
  72. package/dist/types-ts4.5/types.d.ts +2 -0
  73. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +4 -3
  74. package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/types.d.ts +5 -0
  75. package/package.json +13 -10
@@ -0,0 +1,40 @@
1
+ import { type IconType } from '../../../constants';
2
+ /**
3
+ * Represents an icon. Should either contain a label and url, or a an icon type and label.
4
+ */
5
+ export type IconDescriptor = {
6
+ icon?: IconType;
7
+ label?: string;
8
+ url?: string;
9
+ };
10
+ /**
11
+ * Options required to prioritise which icon to show
12
+ */
13
+ export type IconPriorityOpts<T> = {
14
+ /**
15
+ * The '@id' field of the JSON-LD generator object
16
+ */
17
+ providerId: string | undefined;
18
+ /**
19
+ * Icon choice corresponding to the file format (based on MIME type) for the object.
20
+ */
21
+ fileFormatIcon: T | undefined;
22
+ /**
23
+ * Icon choice corresponding to the document type for the object.
24
+ */
25
+ documentTypeIcon: T | undefined;
26
+ /**
27
+ * The icon choice extracted from the icon property of the JSON-LD data object.
28
+ */
29
+ urlIcon: T | undefined;
30
+ /**
31
+ * The icon choice extracted from the generator object (provider) of the
32
+ * JSON-LD data object.
33
+ */
34
+ providerIcon: T | undefined;
35
+ };
36
+ /**
37
+ * Reusable priority function for choosing which icon to show.
38
+ * Generic so it can be used to prioritise strings, or React components depending on the usage.
39
+ */
40
+ export declare function prioritiseIcon<T>({ providerId, fileFormatIcon, documentTypeIcon, urlIcon, providerIcon, }: IconPriorityOpts<T>): T | undefined;
@@ -1,4 +1,7 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  type JsonLdType = JsonLd.Primitives.ObjectType | 'atlassian:Template';
3
+ /**
4
+ * Preference more detailed object types over less detailed ones (like 'Document' or 'Object').
5
+ */
3
6
  export declare const extractorPriorityMap: Record<JsonLdType, number>;
4
7
  export {};
@@ -1,10 +1,13 @@
1
+ import { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
1
2
  import { InvokeActions } from '../../../state/hooks/use-invoke/types';
2
3
  export type LinkLozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
4
+ export type AccentShortName = 'blue' | 'gray' | 'green' | 'lime' | 'magenta' | 'orange' | 'purple' | 'red' | 'teal' | 'yellow';
3
5
  export type LinkLozengeInvokeActions = InvokeActions;
4
6
  export interface LinkLozenge {
5
7
  action?: LinkLozengeInvokeActions;
6
8
  text: string;
7
9
  appearance?: LinkLozengeColor;
10
+ style?: AtlaskitLozengeProps['style'];
8
11
  }
9
12
  export type LinkDocumentState = 'archived' | 'draft' | 'current';
10
13
  export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed';
@@ -1,3 +1,3 @@
1
- import { IconDescriptor } from './types';
1
+ import { type IconDescriptor } from './types';
2
2
  declare const extractDocumentTypeIcon: (documentType: string, label?: string) => IconDescriptor | undefined;
3
3
  export default extractDocumentTypeIcon;
@@ -1,4 +1,7 @@
1
- import { JsonLd } from 'json-ld-types';
2
- import { IconDescriptor } from './types';
1
+ import { type JsonLd } from 'json-ld-types';
2
+ import { type IconDescriptor } from './types';
3
+ /**
4
+ * Return the icon object given a JSON-LD data object.
5
+ */
3
6
  declare const extractJsonldDataIcon: (data: JsonLd.Data.BaseData) => IconDescriptor | undefined;
4
7
  export default extractJsonldDataIcon;
@@ -1,4 +1,14 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { IconDescriptor } from './types';
3
+ /**
4
+ * Extracts the provider icon and label from the given JSON-LD data.
5
+ *
6
+ * If the data is from Confluence, the icon will be the Confluence icon and the label will be 'Confluence'.
7
+ * If the data is from Jira, the icon will be the Jira icon and the label will be 'Jira'.
8
+ * If the data is from another provider, the icon and label will be extracted from the generator object.
9
+ *
10
+ * @param data - The JSON-LD data to extract the provider icon and label from.
11
+ * @returns IconDescriptor with optional icon string name, url and label, or `undefined` if the data is not provided.
12
+ */
3
13
  declare const extractProviderIcon: (data?: JsonLd.Data.BaseData) => IconDescriptor | undefined;
4
14
  export default extractProviderIcon;
@@ -1,4 +1,11 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { IconDescriptor } from './types';
3
+ /**
4
+ * Extracts the URL icon from the given icon or link object.
5
+ *
6
+ * @param icon - The icon or link object from which to extract the URL icon.
7
+ * @param label - The label for the URL icon.
8
+ * @returns IconDescriptor, which will contain label and url, or undefined
9
+ */
3
10
  declare const extractUrlIcon: (icon?: JsonLd.Primitives.Image | JsonLd.Primitives.Link, label?: string) => IconDescriptor | undefined;
4
11
  export default extractUrlIcon;
@@ -1,4 +1,7 @@
1
1
  import { IconType } from '../../../constants';
2
+ /**
3
+ * Represents an icon. Should either contain a label and url, or a an icon type and label.
4
+ */
2
5
  export type IconDescriptor = {
3
6
  icon?: IconType;
4
7
  label?: string;
@@ -1,6 +1,7 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { RequestAccessMessageKey } from './messages';
3
3
  export type { CardContext } from '@atlaskit/link-provider';
4
+ import type { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
4
5
  import { AccessContext } from './view/types';
5
6
  import { ActionProps } from './view/BlockCard/components/Action';
6
7
  export type ResolveResponse = JsonLd.Response;
@@ -16,5 +17,6 @@ export type LozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'n
16
17
  export interface LozengeProps {
17
18
  text: string;
18
19
  appearance?: LozengeColor;
20
+ style?: AtlaskitLozengeProps['style'];
19
21
  isBold?: boolean;
20
22
  }
@@ -1,4 +1,5 @@
1
- /// <reference types="react" />
2
- import { ActionBlockProps } from './types';
3
- declare const ActionBlock: ({ blockRef, onClick: onClickCallback, size, spaceInline, testId, }: ActionBlockProps) => JSX.Element | null;
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ import { type ActionBlockProps } from './types';
4
+ declare const ActionBlock: ({ blockRef, onClick: onClickCallback, size, spaceInline, testId, }: ActionBlockProps) => jsx.JSX.Element | null;
4
5
  export default ActionBlock;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
2
3
  import { ElementProps } from '../types';
3
4
  import type { LinkLozengeInvokeActions } from '../../../../../extractors/common/lozenge/types';
4
5
  export type LozengeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
@@ -11,6 +12,10 @@ export type LozengeProps = ElementProps & {
11
12
  * Determines the appearance of the Atlaskit lozenge.
12
13
  */
13
14
  appearance?: LozengeAppearance;
15
+ /**
16
+ * Determines the custom styles of the Atlaskit lozenge.
17
+ */
18
+ style?: AtlaskitLozengeProps['style'];
14
19
  /**
15
20
  * The text to display within the lozenge.
16
21
  */
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { JsonLd } from 'json-ld-types';
3
- import { LinkProvider } from '@atlaskit/link-extractors';
4
- import { LinkTaskType } from '../lozenge/extractTaskType';
2
+ import { type JsonLd } from 'json-ld-types';
3
+ import { type LinkProvider } from '@atlaskit/link-extractors';
4
+ import { type LinkTaskType } from '../lozenge/extractTaskType';
5
5
  export type IconPriority = 'type' | 'provider';
6
6
  export interface IconOpts {
7
7
  title?: string;
@@ -1,4 +1,11 @@
1
1
  import React from 'react';
2
- import { IconOpts } from './extractIcon';
2
+ import { type IconOpts } from './extractIcon';
3
3
  export type DocumentType = 'Document' | 'schema:BlogPosting' | 'schema:DigitalDocument' | 'schema:TextDigitalDocument' | 'schema:PresentationDigitalDocument' | 'schema:SpreadsheetDigitalDocument' | 'atlassian:Template' | 'atlassian:UndefinedLink';
4
+ /**
5
+ * Extracts an icon for a document pbject
6
+ *
7
+ * @param type - The type of the document.
8
+ * @param opts - The options for extracting the icon.
9
+ * @returns The React node representing the extracted icon, or `undefined` if no icon is found.
10
+ */
4
11
  export declare const extractIconFromDocument: (type: DocumentType, opts: IconOpts) => React.ReactNode | undefined;
@@ -1,3 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IconOpts } from './extractIcon';
3
+ /**
4
+ * Chooses an icon for a task based on the provided options.
5
+ *
6
+ * Chooses icon based on variety of Jira task types, based on opts.taskType.id
7
+ *
8
+ * @param opts - The options for extracting the icon.
9
+ * @returns The React node representing the extracted icon, or `undefined` if no icon is found.
10
+ */
3
11
  export declare const extractIconFromTask: (opts: IconOpts) => React.ReactNode | undefined;
@@ -0,0 +1,40 @@
1
+ import { type IconType } from '../../../constants';
2
+ /**
3
+ * Represents an icon. Should either contain a label and url, or a an icon type and label.
4
+ */
5
+ export type IconDescriptor = {
6
+ icon?: IconType;
7
+ label?: string;
8
+ url?: string;
9
+ };
10
+ /**
11
+ * Options required to prioritise which icon to show
12
+ */
13
+ export type IconPriorityOpts<T> = {
14
+ /**
15
+ * The '@id' field of the JSON-LD generator object
16
+ */
17
+ providerId: string | undefined;
18
+ /**
19
+ * Icon choice corresponding to the file format (based on MIME type) for the object.
20
+ */
21
+ fileFormatIcon: T | undefined;
22
+ /**
23
+ * Icon choice corresponding to the document type for the object.
24
+ */
25
+ documentTypeIcon: T | undefined;
26
+ /**
27
+ * The icon choice extracted from the icon property of the JSON-LD data object.
28
+ */
29
+ urlIcon: T | undefined;
30
+ /**
31
+ * The icon choice extracted from the generator object (provider) of the
32
+ * JSON-LD data object.
33
+ */
34
+ providerIcon: T | undefined;
35
+ };
36
+ /**
37
+ * Reusable priority function for choosing which icon to show.
38
+ * Generic so it can be used to prioritise strings, or React components depending on the usage.
39
+ */
40
+ export declare function prioritiseIcon<T>({ providerId, fileFormatIcon, documentTypeIcon, urlIcon, providerIcon, }: IconPriorityOpts<T>): T | undefined;
@@ -1,4 +1,7 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  type JsonLdType = JsonLd.Primitives.ObjectType | 'atlassian:Template';
3
+ /**
4
+ * Preference more detailed object types over less detailed ones (like 'Document' or 'Object').
5
+ */
3
6
  export declare const extractorPriorityMap: Record<JsonLdType, number>;
4
7
  export {};
@@ -1,10 +1,13 @@
1
+ import { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
1
2
  import { InvokeActions } from '../../../state/hooks/use-invoke/types';
2
3
  export type LinkLozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
4
+ export type AccentShortName = 'blue' | 'gray' | 'green' | 'lime' | 'magenta' | 'orange' | 'purple' | 'red' | 'teal' | 'yellow';
3
5
  export type LinkLozengeInvokeActions = InvokeActions;
4
6
  export interface LinkLozenge {
5
7
  action?: LinkLozengeInvokeActions;
6
8
  text: string;
7
9
  appearance?: LinkLozengeColor;
10
+ style?: AtlaskitLozengeProps['style'];
8
11
  }
9
12
  export type LinkDocumentState = 'archived' | 'draft' | 'current';
10
13
  export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed';
@@ -1,3 +1,3 @@
1
- import { IconDescriptor } from './types';
1
+ import { type IconDescriptor } from './types';
2
2
  declare const extractDocumentTypeIcon: (documentType: string, label?: string) => IconDescriptor | undefined;
3
3
  export default extractDocumentTypeIcon;
@@ -1,4 +1,7 @@
1
- import { JsonLd } from 'json-ld-types';
2
- import { IconDescriptor } from './types';
1
+ import { type JsonLd } from 'json-ld-types';
2
+ import { type IconDescriptor } from './types';
3
+ /**
4
+ * Return the icon object given a JSON-LD data object.
5
+ */
3
6
  declare const extractJsonldDataIcon: (data: JsonLd.Data.BaseData) => IconDescriptor | undefined;
4
7
  export default extractJsonldDataIcon;
@@ -1,4 +1,14 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { IconDescriptor } from './types';
3
+ /**
4
+ * Extracts the provider icon and label from the given JSON-LD data.
5
+ *
6
+ * If the data is from Confluence, the icon will be the Confluence icon and the label will be 'Confluence'.
7
+ * If the data is from Jira, the icon will be the Jira icon and the label will be 'Jira'.
8
+ * If the data is from another provider, the icon and label will be extracted from the generator object.
9
+ *
10
+ * @param data - The JSON-LD data to extract the provider icon and label from.
11
+ * @returns IconDescriptor with optional icon string name, url and label, or `undefined` if the data is not provided.
12
+ */
3
13
  declare const extractProviderIcon: (data?: JsonLd.Data.BaseData) => IconDescriptor | undefined;
4
14
  export default extractProviderIcon;
@@ -1,4 +1,11 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { IconDescriptor } from './types';
3
+ /**
4
+ * Extracts the URL icon from the given icon or link object.
5
+ *
6
+ * @param icon - The icon or link object from which to extract the URL icon.
7
+ * @param label - The label for the URL icon.
8
+ * @returns IconDescriptor, which will contain label and url, or undefined
9
+ */
3
10
  declare const extractUrlIcon: (icon?: JsonLd.Primitives.Image | JsonLd.Primitives.Link, label?: string) => IconDescriptor | undefined;
4
11
  export default extractUrlIcon;
@@ -1,4 +1,7 @@
1
1
  import { IconType } from '../../../constants';
2
+ /**
3
+ * Represents an icon. Should either contain a label and url, or a an icon type and label.
4
+ */
2
5
  export type IconDescriptor = {
3
6
  icon?: IconType;
4
7
  label?: string;
@@ -1,6 +1,7 @@
1
1
  import { JsonLd } from 'json-ld-types';
2
2
  import { RequestAccessMessageKey } from './messages';
3
3
  export type { CardContext } from '@atlaskit/link-provider';
4
+ import type { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
4
5
  import { AccessContext } from './view/types';
5
6
  import { ActionProps } from './view/BlockCard/components/Action';
6
7
  export type ResolveResponse = JsonLd.Response;
@@ -16,5 +17,6 @@ export type LozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'n
16
17
  export interface LozengeProps {
17
18
  text: string;
18
19
  appearance?: LozengeColor;
20
+ style?: AtlaskitLozengeProps['style'];
19
21
  isBold?: boolean;
20
22
  }
@@ -1,4 +1,5 @@
1
- /// <reference types="react" />
2
- import { ActionBlockProps } from './types';
3
- declare const ActionBlock: ({ blockRef, onClick: onClickCallback, size, spaceInline, testId, }: ActionBlockProps) => JSX.Element | null;
1
+ /** @jsx jsx */
2
+ import { jsx } from '@emotion/react';
3
+ import { type ActionBlockProps } from './types';
4
+ declare const ActionBlock: ({ blockRef, onClick: onClickCallback, size, spaceInline, testId, }: ActionBlockProps) => jsx.JSX.Element | null;
4
5
  export default ActionBlock;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { LozengeProps as AtlaskitLozengeProps } from '@atlaskit/lozenge';
2
3
  import { ElementProps } from '../types';
3
4
  import type { LinkLozengeInvokeActions } from '../../../../../extractors/common/lozenge/types';
4
5
  export type LozengeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
@@ -11,6 +12,10 @@ export type LozengeProps = ElementProps & {
11
12
  * Determines the appearance of the Atlaskit lozenge.
12
13
  */
13
14
  appearance?: LozengeAppearance;
15
+ /**
16
+ * Determines the custom styles of the Atlaskit lozenge.
17
+ */
18
+ style?: AtlaskitLozengeProps['style'];
14
19
  /**
15
20
  * The text to display within the lozenge.
16
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.58.0",
3
+ "version": "26.59.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,31 +32,31 @@
32
32
  "@atlaskit/analytics-next": "^9.3.0",
33
33
  "@atlaskit/avatar": "^21.5.0",
34
34
  "@atlaskit/avatar-group": "^9.5.0",
35
- "@atlaskit/badge": "^16.0.0",
35
+ "@atlaskit/badge": "^16.1.0",
36
36
  "@atlaskit/button": "^17.14.0",
37
37
  "@atlaskit/dropdown-menu": "^12.9.0",
38
38
  "@atlaskit/frontend-utilities": "^2.7.0",
39
39
  "@atlaskit/icon": "^22.1.0",
40
40
  "@atlaskit/icon-file-type": "^6.4.0",
41
- "@atlaskit/icon-object": "^6.3.0",
41
+ "@atlaskit/icon-object": "^6.4.0",
42
42
  "@atlaskit/icon-priority": "^6.3.0",
43
43
  "@atlaskit/in-product-testing": "^0.2.0",
44
44
  "@atlaskit/link-analytics": "^8.3.0",
45
45
  "@atlaskit/link-client-extension": "^1.8.0",
46
- "@atlaskit/link-extractors": "^1.3.0",
46
+ "@atlaskit/link-extractors": "^1.4.0",
47
47
  "@atlaskit/linking-common": "^5.6.0",
48
48
  "@atlaskit/linking-types": "^8.8.0",
49
49
  "@atlaskit/logo": "^13.15.0",
50
50
  "@atlaskit/lozenge": "^11.7.0",
51
- "@atlaskit/modal-dialog": "^12.11.0",
51
+ "@atlaskit/modal-dialog": "^12.13.0",
52
52
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",
53
53
  "@atlaskit/platform-feature-flags": "^0.2.1",
54
- "@atlaskit/popup": "^1.14.0",
55
- "@atlaskit/primitives": "^5.6.0",
56
- "@atlaskit/spinner": "^16.0.0",
54
+ "@atlaskit/popup": "^1.15.0",
55
+ "@atlaskit/primitives": "^5.7.0",
56
+ "@atlaskit/spinner": "^16.1.0",
57
57
  "@atlaskit/theme": "^12.7.0",
58
- "@atlaskit/tokens": "^1.43.0",
59
- "@atlaskit/tooltip": "^18.2.0",
58
+ "@atlaskit/tokens": "^1.44.0",
59
+ "@atlaskit/tooltip": "^18.3.0",
60
60
  "@atlaskit/ufo": "^0.2.0",
61
61
  "@babel/runtime": "^7.0.0",
62
62
  "@emotion/react": "^11.7.1",
@@ -173,6 +173,9 @@
173
173
  },
174
174
  "platform.linking-platform.smart-card.enable-theme-state-url": {
175
175
  "type": "boolean"
176
+ },
177
+ "platform.linking-platform.smart-card.standardise-smart-link-icon-behaviour": {
178
+ "type": "boolean"
176
179
  }
177
180
  },
178
181
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"