@livetiles/reach-components-react 0.4.0-preview.930 → 0.4.0-preview.940
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/NewsHero.d.ts +1 -0
- package/common/CommentCountIconWithTooltip.d.ts +9 -0
- package/da.async.esm.esm.js +1 -1
- package/da.async.esm2.esm.js +1 -0
- package/da.esm.js +1 -0
- package/de.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm.esm.js +1 -1
- package/fr.async.esm.esm.js +1 -1
- package/index.d.ts +27 -13
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -17
- package/index.umd.js +22 -22
- package/it.async.esm.esm.js +1 -1
- package/ja.async.esm.esm.js +1 -1
- package/package.json +1 -1
- package/tr.async.esm.esm.js +1 -1
- package/zh-CN.async.esm.esm.js +1 -1
- package/zh-TW.async.esm.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -384,6 +384,7 @@ interface ItemStatistics {
|
|
|
384
384
|
confirmationCount?: number;
|
|
385
385
|
bookmarkCount?: number;
|
|
386
386
|
participantsCount?: number;
|
|
387
|
+
replyCount?: number;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
interface NotificationSettings {
|
|
@@ -446,6 +447,19 @@ interface BaseItem {
|
|
|
446
447
|
id?: string;
|
|
447
448
|
statistics?: ItemStatistics;
|
|
448
449
|
poll?: Poll;
|
|
450
|
+
searchHighlights?: SearchHighlightSummary;
|
|
451
|
+
}
|
|
452
|
+
interface SearchHighlightSummary {
|
|
453
|
+
title: SearchHighlight[];
|
|
454
|
+
content: SearchHighlight[];
|
|
455
|
+
}
|
|
456
|
+
interface SearchHighlight {
|
|
457
|
+
language: string;
|
|
458
|
+
texts: {
|
|
459
|
+
value: string;
|
|
460
|
+
type: 'text' | 'hit';
|
|
461
|
+
}[];
|
|
462
|
+
score: number;
|
|
449
463
|
}
|
|
450
464
|
interface Poll {
|
|
451
465
|
questions: PollQuestion[];
|
|
@@ -480,7 +494,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
480
494
|
headline?: string;
|
|
481
495
|
intro?: string;
|
|
482
496
|
body?: string;
|
|
483
|
-
bodyRaw?: string;
|
|
484
497
|
customProperties?: {
|
|
485
498
|
[key: string]: any;
|
|
486
499
|
};
|
|
@@ -1042,6 +1055,7 @@ interface NewsHeroProps {
|
|
|
1042
1055
|
width?: number | string;
|
|
1043
1056
|
height?: number | string;
|
|
1044
1057
|
includeAllItems?: boolean;
|
|
1058
|
+
onChannelClick?: (channel: string) => unknown;
|
|
1045
1059
|
}
|
|
1046
1060
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1047
1061
|
|
|
@@ -1149,6 +1163,18 @@ interface NewsEditorProps {
|
|
|
1149
1163
|
}
|
|
1150
1164
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1151
1165
|
|
|
1166
|
+
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1167
|
+
filter?: LibNewsFilterDefinition;
|
|
1168
|
+
searchText?: string;
|
|
1169
|
+
}
|
|
1170
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1171
|
+
|
|
1172
|
+
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1173
|
+
filter?: EventFilterDefinition;
|
|
1174
|
+
searchText?: string;
|
|
1175
|
+
}
|
|
1176
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1177
|
+
|
|
1152
1178
|
interface EditorToolbarIndicatorsProps {
|
|
1153
1179
|
className?: string;
|
|
1154
1180
|
}
|
|
@@ -1169,18 +1195,6 @@ declare const NewsEditorPanel: FC<{
|
|
|
1169
1195
|
className?: string;
|
|
1170
1196
|
}>;
|
|
1171
1197
|
|
|
1172
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1173
|
-
filter?: LibNewsFilterDefinition;
|
|
1174
|
-
searchText?: string;
|
|
1175
|
-
}
|
|
1176
|
-
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1177
|
-
|
|
1178
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1179
|
-
filter?: EventFilterDefinition;
|
|
1180
|
-
searchText?: string;
|
|
1181
|
-
}
|
|
1182
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1183
|
-
|
|
1184
1198
|
interface PostInputBoxProps {
|
|
1185
1199
|
onBeforeSave?: (post: Post) => void;
|
|
1186
1200
|
onAfterSave?: (post: Post) => void;
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,ap as ContactToolbarFilter,
|
|
1
|
+
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,ap as ContactToolbarFilter,ad as EditorToolbarIndicators,aq as EventDatesToolbarFilter,E as EventDetail,a4 as EventView,s as EventsEditorDashboard,n as EventsGrid,o as EventsList,a1 as FilterSearch,ak as GroupNotificationsSettings,I as ItemLayoutMode,aa as ItemResourceTypes,ab as KeywordPicker,Y as KeywordsFilter,Z as KeywordsToolbarFilter,M as ManageChannels,N as NewsDetail,G as NewsDetailPreview,a6 as NewsEditor,a7 as NewsEditorContextProvider,r as NewsEditorDashboard,af as NewsEditorPanel,ae as NewsEditorToolbarStateActions,l as NewsGrid,q as NewsHero,C as NewsItemContextProvider,H as NewsItemPreviewContextProvider,k as NewsList,i as PageDetail,a8 as PageViewTrackerSettingsContextProvider,j as PostDetail,aj as PostGroupSelector,am as PostGroupSelectorButton,ai as PostGroupsPicker,ag as PostInputBox,ah as PostList,h as PostListContextProvider,W as PublishingDateFilter,S as PublishingDateToolbarFilter,R as ReachContextProvider,ac as ReachDialog,a9 as TargetLinkOverrideContextProvider,t as Toolbar,x as ToolbarChannelSelector,B as ToolbarCloseButton,a3 as ToolbarEventViewSelector,K as ToolbarFilterModal,L as ToolbarFilterModalButton,J as ToolbarFilterPanel,a2 as ToolbarFilterSearch,an as ToolbarFilterToggleButton,v as ToolbarIconButton,F as ToolbarManageNewsItemButton,y as ToolbarMarkAllEventsAsReadButton,z as ToolbarMarkAllNewsAsReadButton,D as ToolbarNewsLanguageSelector,al as ToolbarPostNotificationButton,w as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,ao as isFilterActive,p as useCurrentUser}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
|