@atlaskit/smart-card 19.1.28 → 19.1.29

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,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 19.1.29
4
+
5
+ ### Patch Changes
6
+
7
+ - [`acfb4cbb01f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/acfb4cbb01f) - set hover card z-index to 511 to go over issue view modal
8
+
3
9
  ## 19.1.28
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.28",
3
+ "version": "19.1.29",
4
4
  "sideEffects": false
5
5
  }
@@ -127,7 +127,7 @@ var HoverCardComponent = function HoverCardComponent(_ref) {
127
127
  onMouseLeave: initHideCard
128
128
  }), children);
129
129
  },
130
- zIndex: 501 // Temporary fix for Confluence inline comment on editor mod has z-index of 500
130
+ zIndex: 511 // Temporary fix for Confluence inline comment on editor mod has z-index of 500, Jira issue view has z-index of 510
131
131
 
132
132
  });
133
133
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.28",
3
+ "version": "19.1.29",
4
4
  "sideEffects": false
5
5
  }
@@ -89,7 +89,7 @@ export const HoverCardComponent = ({
89
89
  onMouseEnter: initShowCard,
90
90
  onMouseLeave: initHideCard
91
91
  }), children),
92
- zIndex: 501 // Temporary fix for Confluence inline comment on editor mod has z-index of 500
92
+ zIndex: 511 // Temporary fix for Confluence inline comment on editor mod has z-index of 500, Jira issue view has z-index of 510
93
93
 
94
94
  });
95
95
  };
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import { useMemo, useCallback } from 'react';
4
4
  import { auth } from '@atlaskit/outbound-auth-flow-client';
5
5
  import { APIError } from '@atlaskit/linking-common';
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import { useCallback } from 'react';
4
4
  import { useSmartLinkContext } from '@atlaskit/link-provider';
5
5
  export function usePrefetch(url) {
@@ -1,10 +1,10 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
3
  import _createClass from "@babel/runtime/helpers/createClass";
5
4
  import _inherits from "@babel/runtime/helpers/inherits";
6
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
 
9
9
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
10
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.28",
3
+ "version": "19.1.29",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
5
  import { downloadUrl } from '@atlaskit/media-common';
@@ -1,10 +1,10 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _extends from "@babel/runtime/helpers/extends";
3
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
4
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
6
5
  var _excluded = ["popupMountPointId", "onClose"],
7
6
  _excluded2 = ["details"];
7
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
 
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
10
 
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
5
  import { messages } from '../../../messages';
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import { FormattedMessage } from 'react-intl-next';
5
5
  import { messages } from '../../../messages';
@@ -99,7 +99,7 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
99
99
  onMouseLeave: initHideCard
100
100
  }), children);
101
101
  },
102
- zIndex: 501 // Temporary fix for Confluence inline comment on editor mod has z-index of 500
102
+ zIndex: 511 // Temporary fix for Confluence inline comment on editor mod has z-index of 500, Jira issue view has z-index of 510
103
103
 
104
104
  });
105
105
  };
@@ -30,19 +30,19 @@ export declare const TEST_DOCUMENT_WITH_ACTIONS: {
30
30
  '@type': "Collection" | "Document" | "schema:BlogPosting" | "schema:TextDigitalDocument" | "schema:DigitalDocument" | "schema:PresentationDigitalDocument" | "schema:SpreadsheetDigitalDocument" | "atlassian:UndefinedLink" | ("Object" | "Document")[] | (JsonLd.Data.DocumentChildType | JsonLd.Data.DocumentParentType)[] | ("Document" | "schema:DigitalDocument")[];
31
31
  'schema:fileFormat'?: string | undefined;
32
32
  'atlassian:fileSize'?: number | undefined;
33
- 'schema:dateCreated'?: string | undefined;
34
- 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | undefined;
35
33
  'schema:commentCount'?: number | undefined;
36
34
  'atlassian:isDeleted'?: boolean | undefined;
37
35
  'atlassian:dateViewed'?: string | undefined;
38
36
  'atlassian:reactCount'?: number | undefined;
39
- 'atlassian:state'?: string | undefined;
37
+ 'atlassian:state'?: string | JsonLd.Primitives.Object<any> | undefined;
40
38
  'atlassian:viewCount'?: number | undefined;
41
39
  'atlassian:voteCount'?: number | undefined;
42
40
  '@context': JsonLd.Primitives.Context;
43
41
  'atlassian:downloadUrl'?: string | undefined;
44
42
  'atlassian:visitUrl'?: string | undefined;
45
43
  'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
44
+ 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
45
+ 'schema:dateCreated'?: string | undefined;
46
46
  '@id'?: string | undefined;
47
47
  attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
48
48
  attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
@@ -85,20 +85,20 @@ export declare const TEST_DOCUMENT_WITH_PREVIEW: {
85
85
  '@type': "Collection" | "Document" | "schema:BlogPosting" | "schema:TextDigitalDocument" | "schema:DigitalDocument" | "schema:PresentationDigitalDocument" | "schema:SpreadsheetDigitalDocument" | "atlassian:UndefinedLink" | ("Object" | "Document")[] | (JsonLd.Data.DocumentChildType | JsonLd.Data.DocumentParentType)[] | ("Document" | "schema:DigitalDocument")[];
86
86
  'schema:fileFormat'?: string | undefined;
87
87
  'atlassian:fileSize'?: number | undefined;
88
- 'schema:dateCreated'?: string | undefined;
89
- 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | undefined;
90
88
  'schema:commentCount'?: number | undefined;
91
89
  'atlassian:isDeleted'?: boolean | undefined;
92
90
  'schema:potentialAction'?: JsonLd.Primitives.Property<JsonLd.Data.DocumentAction> | undefined;
93
91
  'atlassian:dateViewed'?: string | undefined;
94
92
  'atlassian:reactCount'?: number | undefined;
95
- 'atlassian:state'?: string | undefined;
93
+ 'atlassian:state'?: string | JsonLd.Primitives.Object<any> | undefined;
96
94
  'atlassian:viewCount'?: number | undefined;
97
95
  'atlassian:voteCount'?: number | undefined;
98
96
  '@context': JsonLd.Primitives.Context;
99
97
  'atlassian:downloadUrl'?: string | undefined;
100
98
  'atlassian:visitUrl'?: string | undefined;
101
99
  'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
100
+ 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
101
+ 'schema:dateCreated'?: string | undefined;
102
102
  '@id'?: string | undefined;
103
103
  attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
104
104
  attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
@@ -145,6 +145,8 @@ export declare const TEST_DATA_WITH_LATEST_COMMIT_OBJ: {
145
145
  'atlassian:downloadUrl'?: string | undefined;
146
146
  'atlassian:visitUrl'?: string | undefined;
147
147
  'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
148
+ 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
149
+ 'schema:dateCreated'?: string | undefined;
148
150
  '@id'?: string | undefined;
149
151
  attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
150
152
  attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
@@ -189,6 +191,8 @@ export declare const TEST_DATA_WITH_LATEST_COMMIT_TEXT: {
189
191
  'atlassian:downloadUrl'?: string | undefined;
190
192
  'atlassian:visitUrl'?: string | undefined;
191
193
  'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
194
+ 'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
195
+ 'schema:dateCreated'?: string | undefined;
192
196
  '@id'?: string | undefined;
193
197
  attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
194
198
  attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.28",
3
+ "version": "19.1.29",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -50,7 +50,7 @@
50
50
  "@emotion/styled": "^10.0.7",
51
51
  "@formatjs/intl-utils": "^3.8.4",
52
52
  "facepaint": "^1.2.1",
53
- "json-ld-types": "2.4.2",
53
+ "json-ld-types": "3.0.2",
54
54
  "react-error-boundary": "^3.1.3",
55
55
  "react-lazily-render": "^1.2.0",
56
56
  "react-loadable": "^5.1.0",