@livetiles/reach-components-react 0.4.0-preview.857 → 0.4.0-preview.858
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/NewsGrid.d.ts +0 -1
- package/NewsHero.d.ts +0 -1
- package/NewsList.d.ts +0 -1
- package/da.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +13 -28
- package/index.esm.js +1 -1
- package/index.esm2.js +7 -7
- package/index.umd.js +22 -22
- package/package.json +1 -1
- package/da.async.esm2.esm.js +0 -1
- package/da.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -446,19 +446,6 @@ interface BaseItem {
|
|
|
446
446
|
id?: string;
|
|
447
447
|
statistics?: ItemStatistics;
|
|
448
448
|
poll?: Poll;
|
|
449
|
-
searchHighlights?: SearchHighlightSummary;
|
|
450
|
-
}
|
|
451
|
-
interface SearchHighlightSummary {
|
|
452
|
-
title: SearchHighlight[];
|
|
453
|
-
content: SearchHighlight[];
|
|
454
|
-
}
|
|
455
|
-
interface SearchHighlight {
|
|
456
|
-
language: string;
|
|
457
|
-
texts: {
|
|
458
|
-
value: string;
|
|
459
|
-
type: 'text' | 'hit';
|
|
460
|
-
}[];
|
|
461
|
-
score: number;
|
|
462
449
|
}
|
|
463
450
|
interface Poll {
|
|
464
451
|
questions: PollQuestion[];
|
|
@@ -493,6 +480,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
493
480
|
headline?: string;
|
|
494
481
|
intro?: string;
|
|
495
482
|
body?: string;
|
|
483
|
+
bodyRaw?: string;
|
|
496
484
|
customProperties?: {
|
|
497
485
|
[key: string]: any;
|
|
498
486
|
};
|
|
@@ -975,7 +963,6 @@ interface NewsListProps {
|
|
|
975
963
|
hidePlaceholderIfNoBanner?: boolean;
|
|
976
964
|
hidePagination?: boolean;
|
|
977
965
|
pageSize?: number;
|
|
978
|
-
includeAllItems?: boolean;
|
|
979
966
|
className?: string;
|
|
980
967
|
}
|
|
981
968
|
declare const NewsList: FC<NewsListProps>;
|
|
@@ -1005,7 +992,6 @@ interface NewsGridProps {
|
|
|
1005
992
|
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1006
993
|
onChannelClick?: (channel: string) => unknown;
|
|
1007
994
|
onKeywordClick?: (keyword: string) => unknown;
|
|
1008
|
-
includeAllItems?: boolean;
|
|
1009
995
|
className?: string;
|
|
1010
996
|
}
|
|
1011
997
|
declare const NewsGrid: FC<NewsGridProps>;
|
|
@@ -1053,7 +1039,6 @@ interface NewsHeroProps {
|
|
|
1053
1039
|
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1054
1040
|
width?: number | string;
|
|
1055
1041
|
height?: number | string;
|
|
1056
|
-
includeAllItems?: boolean;
|
|
1057
1042
|
}
|
|
1058
1043
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1059
1044
|
|
|
@@ -1161,18 +1146,6 @@ interface NewsEditorProps {
|
|
|
1161
1146
|
}
|
|
1162
1147
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1163
1148
|
|
|
1164
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1165
|
-
filter?: LibNewsFilterDefinition;
|
|
1166
|
-
searchText?: string;
|
|
1167
|
-
}
|
|
1168
|
-
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1169
|
-
|
|
1170
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1171
|
-
filter?: EventFilterDefinition;
|
|
1172
|
-
searchText?: string;
|
|
1173
|
-
}
|
|
1174
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1175
|
-
|
|
1176
1149
|
interface EditorToolbarIndicatorsProps {
|
|
1177
1150
|
className?: string;
|
|
1178
1151
|
}
|
|
@@ -1193,6 +1166,18 @@ declare const NewsEditorPanel: FC<{
|
|
|
1193
1166
|
className?: string;
|
|
1194
1167
|
}>;
|
|
1195
1168
|
|
|
1169
|
+
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1170
|
+
filter?: LibNewsFilterDefinition;
|
|
1171
|
+
searchText?: string;
|
|
1172
|
+
}
|
|
1173
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1174
|
+
|
|
1175
|
+
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1176
|
+
filter?: EventFilterDefinition;
|
|
1177
|
+
searchText?: string;
|
|
1178
|
+
}
|
|
1179
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1180
|
+
|
|
1196
1181
|
interface PostInputBoxProps {
|
|
1197
1182
|
onBeforeSave?: (post: Post) => void;
|
|
1198
1183
|
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,af 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,ad 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,ac as NewsEditorPanel,ab 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,ae 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";
|