@atlaskit/smart-card 40.20.3 → 40.21.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 40.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`31cb31489cef2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31cb31489cef2) -
8
+ [ux] exporting HoverCard allowEventPropagation prop
9
+
3
10
  ## 40.20.3
4
11
 
5
12
  ### 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: "0.0.0-development"
14
+ packageVersion: "40.20.3"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -21,7 +21,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
21
21
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
22
22
  var PACKAGE_DATA = {
23
23
  packageName: "@atlaskit/smart-card",
24
- packageVersion: "0.0.0-development",
24
+ packageVersion: "40.20.3",
25
25
  componentName: 'linkUrl'
26
26
  };
27
27
  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: "0.0.0-development"
5
+ packageVersion: "40.20.3"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -11,7 +11,7 @@ import LinkWarningModal from './LinkWarningModal';
11
11
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
12
12
  const PACKAGE_DATA = {
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "0.0.0-development",
14
+ packageVersion: "40.20.3",
15
15
  componentName: 'linkUrl'
16
16
  };
17
17
  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: "0.0.0-development"
7
+ packageVersion: "40.20.3"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -14,7 +14,7 @@ import LinkWarningModal from './LinkWarningModal';
14
14
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
15
15
  var PACKAGE_DATA = {
16
16
  packageName: "@atlaskit/smart-card",
17
- packageVersion: "0.0.0-development",
17
+ packageVersion: "40.20.3",
18
18
  componentName: 'linkUrl'
19
19
  };
20
20
  var Anchor = withLinkClickedEvent('a');
@@ -11,6 +11,10 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
11
11
  * Configure visibility of server and client actions
12
12
  */
13
13
  actionOptions?: CardActionOptions;
14
+ /**
15
+ * Allow click event to bubble up from hover preview trigger component.
16
+ */
17
+ allowEventPropagation?: boolean;
14
18
  /**
15
19
  * Determines if the hover card is allowed to open. If changed from true to false while the
16
20
  * hover card is open, the hover card will be closed.
@@ -65,11 +69,6 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
65
69
  * standalone hover card.
66
70
  */
67
71
  export interface HoverCardInternalProps {
68
- /**
69
- * Allow click event to bubble up from hover preview trigger component.
70
- * @see EDM-7187 for further details
71
- */
72
- allowEventPropagation?: boolean;
73
72
  /**
74
73
  * Suspend hover card UI delays (fade-in, fade-out) for VR testing purposes.
75
74
  */
@@ -11,6 +11,10 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
11
11
  * Configure visibility of server and client actions
12
12
  */
13
13
  actionOptions?: CardActionOptions;
14
+ /**
15
+ * Allow click event to bubble up from hover preview trigger component.
16
+ */
17
+ allowEventPropagation?: boolean;
14
18
  /**
15
19
  * Determines if the hover card is allowed to open. If changed from true to false while the
16
20
  * hover card is open, the hover card will be closed.
@@ -65,11 +69,6 @@ export interface HoverCardProps extends WithAnalyticsEventsProps {
65
69
  * standalone hover card.
66
70
  */
67
71
  export interface HoverCardInternalProps {
68
- /**
69
- * Allow click event to bubble up from hover preview trigger component.
70
- * @see EDM-7187 for further details
71
- */
72
- allowEventPropagation?: boolean;
73
72
  /**
74
73
  * Suspend hover card UI delays (fade-in, fade-out) for VR testing purposes.
75
74
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "40.20.3",
3
+ "version": "40.21.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"