@atlaskit/smart-card 25.0.6 → 25.0.7
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 +7 -0
- package/dist/cjs/i18n/ja.js +5 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/ja.js +5 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/ja.js +5 -5
- package/dist/esm/version.json +1 -1
- package/dist/types/extractors/common/__mocks__/jsonld.d.ts +2 -95
- package/package.json +5 -5
- package/report.api.md +1 -1
- package/dist/types/view/__mocks__/intersection-observer.d.ts +0 -26
- package/dist/types/view/__mocks__/intersection-observer.mock.d.ts +0 -12
package/CHANGELOG.md
CHANGED
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -45,7 +45,7 @@ var _default = {
|
|
|
45
45
|
'fabric.linking.invalid_permissions': '制限付きコンテンツ',
|
|
46
46
|
'fabric.linking.invalid_permissions_description': 'このプレビューを表示するには、アクセスをリクエストするか別のアカウントで試してください。',
|
|
47
47
|
'fabric.linking.join_to_view': '{context}に参加してこの課題を見る',
|
|
48
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
48
|
+
'fabric.linking.learn_more_about_smart_links': 'スマート リンクの詳細',
|
|
49
49
|
'fabric.linking.link_safety_warning_message': 'リンク {unsafeLinkText} をクリックすると別のサイトが開きます。<a>実際のリンク先</a>',
|
|
50
50
|
'fabric.linking.loading': '読み込み中…',
|
|
51
51
|
'fabric.linking.modified_on_absolute': '更新日: {context}',
|
|
@@ -60,15 +60,15 @@ var _default = {
|
|
|
60
60
|
'fabric.linking.preview_max_size': '全画面表示',
|
|
61
61
|
'fabric.linking.preview_min_size': '全画面表示を閉じる',
|
|
62
62
|
'fabric.linking.priority_blocker': 'ブロッカー',
|
|
63
|
-
'fabric.linking.priority_critical': '
|
|
63
|
+
'fabric.linking.priority_critical': 'クリティカル',
|
|
64
64
|
'fabric.linking.priority_high': '高',
|
|
65
65
|
'fabric.linking.priority_highest': '最高',
|
|
66
66
|
'fabric.linking.priority_low': '低',
|
|
67
67
|
'fabric.linking.priority_lowest': '最低',
|
|
68
|
-
'fabric.linking.priority_major': '
|
|
68
|
+
'fabric.linking.priority_major': 'メジャー',
|
|
69
69
|
'fabric.linking.priority_medium': '中',
|
|
70
|
-
'fabric.linking.priority_minor': '
|
|
71
|
-
'fabric.linking.priority_trivial': '
|
|
70
|
+
'fabric.linking.priority_minor': 'マイナー',
|
|
71
|
+
'fabric.linking.priority_trivial': '軽度',
|
|
72
72
|
'fabric.linking.priority_undefined': '未定義',
|
|
73
73
|
'fabric.linking.request_access': 'アクセスをリクエスト',
|
|
74
74
|
'fabric.linking.request_access_description': 'このプレビューを表示するための{context}へのアクセスをリクエストします。',
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': '制限付きコンテンツ',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'このプレビューを表示するには、アクセスをリクエストするか別のアカウントで試してください。',
|
|
41
41
|
'fabric.linking.join_to_view': '{context}に参加してこの課題を見る',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'スマート リンクの詳細',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'リンク {unsafeLinkText} をクリックすると別のサイトが開きます。<a>実際のリンク先</a>',
|
|
44
44
|
'fabric.linking.loading': '読み込み中…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '更新日: {context}',
|
|
@@ -54,15 +54,15 @@ export default {
|
|
|
54
54
|
'fabric.linking.preview_max_size': '全画面表示',
|
|
55
55
|
'fabric.linking.preview_min_size': '全画面表示を閉じる',
|
|
56
56
|
'fabric.linking.priority_blocker': 'ブロッカー',
|
|
57
|
-
'fabric.linking.priority_critical': '
|
|
57
|
+
'fabric.linking.priority_critical': 'クリティカル',
|
|
58
58
|
'fabric.linking.priority_high': '高',
|
|
59
59
|
'fabric.linking.priority_highest': '最高',
|
|
60
60
|
'fabric.linking.priority_low': '低',
|
|
61
61
|
'fabric.linking.priority_lowest': '最低',
|
|
62
|
-
'fabric.linking.priority_major': '
|
|
62
|
+
'fabric.linking.priority_major': 'メジャー',
|
|
63
63
|
'fabric.linking.priority_medium': '中',
|
|
64
|
-
'fabric.linking.priority_minor': '
|
|
65
|
-
'fabric.linking.priority_trivial': '
|
|
64
|
+
'fabric.linking.priority_minor': 'マイナー',
|
|
65
|
+
'fabric.linking.priority_trivial': '軽度',
|
|
66
66
|
'fabric.linking.priority_undefined': '未定義',
|
|
67
67
|
'fabric.linking.request_access': 'アクセスをリクエスト',
|
|
68
68
|
'fabric.linking.request_access_description': 'このプレビューを表示するための{context}へのアクセスをリクエストします。',
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
'fabric.linking.invalid_permissions': '制限付きコンテンツ',
|
|
40
40
|
'fabric.linking.invalid_permissions_description': 'このプレビューを表示するには、アクセスをリクエストするか別のアカウントで試してください。',
|
|
41
41
|
'fabric.linking.join_to_view': '{context}に参加してこの課題を見る',
|
|
42
|
-
'fabric.linking.learn_more_about_smart_links': '
|
|
42
|
+
'fabric.linking.learn_more_about_smart_links': 'スマート リンクの詳細',
|
|
43
43
|
'fabric.linking.link_safety_warning_message': 'リンク {unsafeLinkText} をクリックすると別のサイトが開きます。<a>実際のリンク先</a>',
|
|
44
44
|
'fabric.linking.loading': '読み込み中…',
|
|
45
45
|
'fabric.linking.modified_on_absolute': '更新日: {context}',
|
|
@@ -54,15 +54,15 @@ export default {
|
|
|
54
54
|
'fabric.linking.preview_max_size': '全画面表示',
|
|
55
55
|
'fabric.linking.preview_min_size': '全画面表示を閉じる',
|
|
56
56
|
'fabric.linking.priority_blocker': 'ブロッカー',
|
|
57
|
-
'fabric.linking.priority_critical': '
|
|
57
|
+
'fabric.linking.priority_critical': 'クリティカル',
|
|
58
58
|
'fabric.linking.priority_high': '高',
|
|
59
59
|
'fabric.linking.priority_highest': '最高',
|
|
60
60
|
'fabric.linking.priority_low': '低',
|
|
61
61
|
'fabric.linking.priority_lowest': '最低',
|
|
62
|
-
'fabric.linking.priority_major': '
|
|
62
|
+
'fabric.linking.priority_major': 'メジャー',
|
|
63
63
|
'fabric.linking.priority_medium': '中',
|
|
64
|
-
'fabric.linking.priority_minor': '
|
|
65
|
-
'fabric.linking.priority_trivial': '
|
|
64
|
+
'fabric.linking.priority_minor': 'マイナー',
|
|
65
|
+
'fabric.linking.priority_trivial': '軽度',
|
|
66
66
|
'fabric.linking.priority_undefined': '未定義',
|
|
67
67
|
'fabric.linking.request_access': 'アクセスをリクエスト',
|
|
68
68
|
'fabric.linking.request_access_description': 'このプレビューを表示するための{context}へのアクセスをリクエストします。',
|
package/dist/esm/version.json
CHANGED
|
@@ -254,98 +254,5 @@ export declare const TEST_DOCUMENT_WITH_PREVIEW: {
|
|
|
254
254
|
summaryMap?: Record<string, string> | undefined;
|
|
255
255
|
updated?: string | undefined;
|
|
256
256
|
};
|
|
257
|
-
export declare const TEST_DATA_WITH_LATEST_COMMIT_OBJ:
|
|
258
|
-
|
|
259
|
-
'@type': string;
|
|
260
|
-
name: string;
|
|
261
|
-
};
|
|
262
|
-
'@context': JsonLd.Primitives.Context;
|
|
263
|
-
'@type': JsonLd.Primitives.Property<JsonLd.Primitives.ObjectType>;
|
|
264
|
-
'schema:potentialAction'?: import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction | (import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction)[] | undefined;
|
|
265
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
266
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
267
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
268
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
269
|
-
'schema:dateCreated'?: string | undefined;
|
|
270
|
-
'@id'?: string | undefined;
|
|
271
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
272
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
273
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
274
|
-
}> | undefined;
|
|
275
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
276
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
277
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
278
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
279
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
280
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
281
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
282
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
283
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
284
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
285
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
286
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
287
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
288
|
-
preview?: string | ((JsonLd.Primitives.Object<any> | JsonLd.Primitives.LinkModel) & JsonLd.Primitives.PreviewExtension) | undefined;
|
|
289
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
290
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
291
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
292
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
293
|
-
content?: string | undefined;
|
|
294
|
-
contentMap?: Record<string, string> | undefined;
|
|
295
|
-
name?: string | undefined;
|
|
296
|
-
nameMap?: Record<string, string> | undefined;
|
|
297
|
-
duration?: string | undefined;
|
|
298
|
-
mediaType?: string | undefined;
|
|
299
|
-
endTime?: string | undefined;
|
|
300
|
-
published?: string | undefined;
|
|
301
|
-
startTime?: string | undefined;
|
|
302
|
-
summary?: string | undefined;
|
|
303
|
-
summaryMap?: Record<string, string> | undefined;
|
|
304
|
-
updated?: string | undefined;
|
|
305
|
-
};
|
|
306
|
-
export declare const TEST_DATA_WITH_LATEST_COMMIT_TEXT: {
|
|
307
|
-
'atlassian:latestCommit': string;
|
|
308
|
-
'@context': JsonLd.Primitives.Context;
|
|
309
|
-
'@type': JsonLd.Primitives.Property<JsonLd.Primitives.ObjectType>;
|
|
310
|
-
'schema:potentialAction'?: import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction | (import("schema-dts").AssignAction | import("schema-dts").CommentAction | import("schema-dts").DeleteAction | import("schema-dts").ReplyAction | import("schema-dts").ShareAction | import("schema-dts").SubscribeAction | import("schema-dts").WatchAction | import("schema-dts").DownloadAction | import("schema-dts").ViewAction)[] | undefined;
|
|
311
|
-
'atlassian:downloadUrl'?: string | undefined;
|
|
312
|
-
'atlassian:visitUrl'?: string | undefined;
|
|
313
|
-
'atlassian:titlePrefix'?: JsonLd.Data.TitlePrefix | undefined;
|
|
314
|
-
'atlassian:updatedBy'?: JsonLd.Primitives.Link | JsonLd.Primitives.Person<any> | JsonLd.Primitives.Collection<JsonLd.Primitives.Link | JsonLd.Primitives.Person<any>> | undefined;
|
|
315
|
-
'schema:dateCreated'?: string | undefined;
|
|
316
|
-
'@id'?: string | undefined;
|
|
317
|
-
attachment?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
318
|
-
attributedTo?: JsonLd.Primitives.Property<(JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link) & {
|
|
319
|
-
actor?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
320
|
-
}> | undefined;
|
|
321
|
-
audience?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
322
|
-
bcc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
323
|
-
bto?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
324
|
-
cc?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
325
|
-
context?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
326
|
-
generator?: JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
327
|
-
icon?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
328
|
-
image?: JsonLd.Primitives.Link | JsonLd.Primitives.Image | undefined;
|
|
329
|
-
inReplyTo?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
330
|
-
location?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
331
|
-
oneOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
332
|
-
anyOf?: (JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link)[] | undefined;
|
|
333
|
-
closed?: boolean | JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link | undefined;
|
|
334
|
-
preview?: string | ((JsonLd.Primitives.Object<any> | JsonLd.Primitives.LinkModel) & JsonLd.Primitives.PreviewExtension) | undefined;
|
|
335
|
-
replies?: JsonLd.Primitives.Collection<any> | undefined;
|
|
336
|
-
tag?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
337
|
-
to?: JsonLd.Primitives.Property<JsonLd.Primitives.Object<any> | JsonLd.Primitives.Link> | undefined;
|
|
338
|
-
url?: JsonLd.Primitives.Property<JsonLd.Primitives.Link> | undefined;
|
|
339
|
-
content?: string | undefined;
|
|
340
|
-
contentMap?: Record<string, string> | undefined;
|
|
341
|
-
name?: string | undefined;
|
|
342
|
-
nameMap?: Record<string, string> | undefined;
|
|
343
|
-
duration?: string | undefined;
|
|
344
|
-
mediaType?: string | undefined;
|
|
345
|
-
endTime?: string | undefined;
|
|
346
|
-
published?: string | undefined;
|
|
347
|
-
startTime?: string | undefined;
|
|
348
|
-
summary?: string | undefined;
|
|
349
|
-
summaryMap?: Record<string, string> | undefined;
|
|
350
|
-
updated?: string | undefined;
|
|
351
|
-
};
|
|
257
|
+
export declare const TEST_DATA_WITH_LATEST_COMMIT_OBJ: JsonLd.Data.SourceCodeRepository;
|
|
258
|
+
export declare const TEST_DATA_WITH_LATEST_COMMIT_TEXT: JsonLd.Data.SourceCodeRepository;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.7",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/outbound-auth-flow-client": "^3.3.0",
|
|
42
42
|
"@atlaskit/popup": "^1.5.0",
|
|
43
43
|
"@atlaskit/spinner": "^15.4.0",
|
|
44
|
-
"@atlaskit/theme": "^12.
|
|
44
|
+
"@atlaskit/theme": "^12.3.0",
|
|
45
45
|
"@atlaskit/tokens": "^1.2.0",
|
|
46
46
|
"@atlaskit/tooltip": "^17.7.0",
|
|
47
47
|
"@atlaskit/ufo": "^0.1.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@emotion/styled": "^11.0.0",
|
|
51
51
|
"@formatjs/intl-utils": "^3.8.4",
|
|
52
52
|
"facepaint": "^1.2.1",
|
|
53
|
-
"json-ld-types": "3.
|
|
53
|
+
"json-ld-types": "3.4.0",
|
|
54
54
|
"react-error-boundary": "^3.1.3",
|
|
55
55
|
"react-lazily-render": "^1.2.0",
|
|
56
56
|
"react-loadable": "^5.1.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"uuid": "^3.1.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@atlaskit/link-provider": "^1.5.
|
|
61
|
+
"@atlaskit/link-provider": "^1.5.1",
|
|
62
62
|
"react": "^16.8.0",
|
|
63
63
|
"react-dom": "^16.8.0",
|
|
64
64
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/field-base": "^15.0.6",
|
|
73
73
|
"@atlaskit/form": "^8.8.0",
|
|
74
74
|
"@atlaskit/inline-message": "^11.4.0",
|
|
75
|
-
"@atlaskit/link-test-helpers": "^2.
|
|
75
|
+
"@atlaskit/link-test-helpers": "^2.2.0",
|
|
76
76
|
"@atlaskit/lozenge": "^11.3.0",
|
|
77
77
|
"@atlaskit/media-integration-test-helpers": "^2.6.0",
|
|
78
78
|
"@atlaskit/media-test-helpers": "^30.1.0",
|
package/report.api.md
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
interface MockEntry {
|
|
3
|
-
isIntersecting: boolean;
|
|
4
|
-
}
|
|
5
|
-
export interface MockIntersectionObserverOpts {
|
|
6
|
-
getMockEntries: () => MockEntry[];
|
|
7
|
-
disconnect: jest.Mock;
|
|
8
|
-
takeRecords?: jest.Mock;
|
|
9
|
-
unobserve?: jest.Mock;
|
|
10
|
-
}
|
|
11
|
-
export declare const MockIntersectionObserverFactory: (mockIntersectionObserverOpts: MockIntersectionObserverOpts) => {
|
|
12
|
-
new (callback: IntersectionObserverCallback): {
|
|
13
|
-
readonly root: Element | null;
|
|
14
|
-
readonly rootMargin: string;
|
|
15
|
-
readonly thresholds: ReadonlyArray<number>;
|
|
16
|
-
previousMockEntries: MockEntry[];
|
|
17
|
-
callback: IntersectionObserverCallback;
|
|
18
|
-
observe(_element: HTMLElement): void;
|
|
19
|
-
callIntersectionObserverCallback: () => void;
|
|
20
|
-
checkIntersection: () => void;
|
|
21
|
-
disconnect: jest.Mock<any, any>;
|
|
22
|
-
takeRecords: jest.Mock<any, any>;
|
|
23
|
-
unobserve: jest.Mock<any, any>;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
export declare class MockIntersectionObserver implements IntersectionObserver {
|
|
3
|
-
callback: IntersectionObserverCallback;
|
|
4
|
-
readonly root: Element | null;
|
|
5
|
-
readonly rootMargin: string;
|
|
6
|
-
readonly thresholds: ReadonlyArray<number>;
|
|
7
|
-
constructor(callback: IntersectionObserverCallback);
|
|
8
|
-
observe(_element: HTMLElement): void;
|
|
9
|
-
disconnect: jest.Mock<any, any>;
|
|
10
|
-
takeRecords: jest.Mock<any, any>;
|
|
11
|
-
unobserve: jest.Mock<any, any>;
|
|
12
|
-
}
|