@livetiles/reach-components-react 0.4.0-preview.177 → 0.4.0-preview.182
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/en.async.esm.esm.js +2 -1
- package/index.d.ts +13 -0
- package/index.esm2.js +563 -541
- package/index.umd.js +565 -542
- package/package.json +1 -1
package/en.async.esm.esm.js
CHANGED
|
@@ -1954,7 +1954,8 @@ var en = {
|
|
|
1954
1954
|
"Page.header.filter": "Filter",
|
|
1955
1955
|
"Page.header.markAll": "Mark all as read",
|
|
1956
1956
|
"SearchEverywhere.input.placeholder": "Please enter a search term",
|
|
1957
|
-
"SearchEverywhere.button": "Search Everywhere"
|
|
1957
|
+
"SearchEverywhere.button": "Search Everywhere",
|
|
1958
|
+
"SearchEverywhere.allLoaded": "There are no more search results"
|
|
1958
1959
|
};
|
|
1959
1960
|
|
|
1960
1961
|
export { en as default };
|
package/index.d.ts
CHANGED
|
@@ -418,6 +418,19 @@ interface BaseItem {
|
|
|
418
418
|
id?: string;
|
|
419
419
|
statistics?: ItemStatistics;
|
|
420
420
|
poll?: Poll;
|
|
421
|
+
searchHighlights?: SearchHighlightSummary;
|
|
422
|
+
}
|
|
423
|
+
interface SearchHighlightSummary {
|
|
424
|
+
title: SearchHighlight[];
|
|
425
|
+
content: SearchHighlight[];
|
|
426
|
+
}
|
|
427
|
+
interface SearchHighlight {
|
|
428
|
+
language: string;
|
|
429
|
+
texts: {
|
|
430
|
+
value: string;
|
|
431
|
+
type: 'text' | 'hit';
|
|
432
|
+
}[];
|
|
433
|
+
score: number;
|
|
421
434
|
}
|
|
422
435
|
interface Poll {
|
|
423
436
|
questions: PollQuestion[];
|