@atlaskit/smart-card 39.2.0 → 39.2.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 39.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 39.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#183586](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/183586)
14
+ [`8c608fcfba01d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8c608fcfba01d) -
15
+ Simplifies type to avoid failures in Atlaskit build
16
+
3
17
  ## 39.2.0
4
18
 
5
19
  ### Minor 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: "39.1.0"
14
+ packageVersion: "39.2.1"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "39.1.0",
23
+ packageVersion: "39.2.1",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -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: "39.1.0"
5
+ packageVersion: "39.2.1"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ExpandedFrame.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import { fg } from "@atlaskit/platform-feature-flags";
6
+ import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import Tooltip from '@atlaskit/tooltip';
8
8
  import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
9
9
  import { handleClickCommon } from '../../common/utils';
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "39.1.0",
13
+ packageVersion: "39.2.1",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -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: "39.1.0"
7
+ packageVersion: "39.2.1"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./ExpandedFrame.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import { fg } from "@atlaskit/platform-feature-flags";
6
+ import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import Tooltip from '@atlaskit/tooltip';
8
8
  import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
9
9
  import { handleClickCommon } from '../../common/utils';
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "39.1.0",
16
+ packageVersion: "39.2.1",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -1,6 +1,5 @@
1
1
  import { type ReactNode, type Ref } from 'react';
2
2
  import { type ActionName, type ElementName, type SmartLinkDirection, type SmartLinkSize, type SmartLinkStatus } from '../../../../constants';
3
- import { type OwnedByElementProps } from '../../external';
4
3
  import { type ActionProps } from '../actions/action/types';
5
4
  export type BlockProps = {
6
5
  /**
@@ -288,8 +287,8 @@ export type CreatedBy = {
288
287
  */
289
288
  export type OwnedBy = {
290
289
  name: ElementName.OwnedBy;
291
- textPrefix?: OwnedByElementProps['textPrefix'];
292
- hideFormat?: OwnedByElementProps['hideFormat'];
290
+ textPrefix?: 'owned_by' | 'owned_by_override';
291
+ hideFormat?: boolean;
293
292
  };
294
293
  /**
295
294
  * Represents the props available for an CreatedOn element.
@@ -1,6 +1,5 @@
1
1
  import { type ReactNode, type Ref } from 'react';
2
2
  import { type ActionName, type ElementName, type SmartLinkDirection, type SmartLinkSize, type SmartLinkStatus } from '../../../../constants';
3
- import { type OwnedByElementProps } from '../../external';
4
3
  import { type ActionProps } from '../actions/action/types';
5
4
  export type BlockProps = {
6
5
  /**
@@ -288,8 +287,8 @@ export type CreatedBy = {
288
287
  */
289
288
  export type OwnedBy = {
290
289
  name: ElementName.OwnedBy;
291
- textPrefix?: OwnedByElementProps['textPrefix'];
292
- hideFormat?: OwnedByElementProps['hideFormat'];
290
+ textPrefix?: 'owned_by' | 'owned_by_override';
291
+ hideFormat?: boolean;
293
292
  };
294
293
  /**
295
294
  * Represents the props available for an CreatedOn element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "39.2.0",
3
+ "version": "39.2.2",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/spinner": "^18.0.0",
67
67
  "@atlaskit/textarea": "^8.0.0",
68
68
  "@atlaskit/textfield": "^8.0.0",
69
- "@atlaskit/theme": "^18.0.0",
69
+ "@atlaskit/theme": "^19.0.0",
70
70
  "@atlaskit/tokens": "^5.4.0",
71
71
  "@atlaskit/tooltip": "^20.3.0",
72
72
  "@atlaskit/ufo": "^0.4.0",