@livetiles/reach-components-react 0.4.0-preview.974 → 0.4.0-preview.979
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 +0 -2
- package/common/hero/Hero.d.ts +1 -2
- package/common/hero/HeroSlide.d.ts +1 -2
- package/da.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +13 -27
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -17
- 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
|
@@ -447,19 +447,6 @@ interface BaseItem {
|
|
|
447
447
|
id?: string;
|
|
448
448
|
statistics?: ItemStatistics;
|
|
449
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;
|
|
463
450
|
}
|
|
464
451
|
interface Poll {
|
|
465
452
|
questions: PollQuestion[];
|
|
@@ -494,6 +481,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
494
481
|
headline?: string;
|
|
495
482
|
intro?: string;
|
|
496
483
|
body?: string;
|
|
484
|
+
bodyRaw?: string;
|
|
497
485
|
customProperties?: {
|
|
498
486
|
[key: string]: any;
|
|
499
487
|
};
|
|
@@ -1059,8 +1047,6 @@ interface NewsHeroProps {
|
|
|
1059
1047
|
height?: number | string;
|
|
1060
1048
|
includeAllItems?: boolean;
|
|
1061
1049
|
onChannelClick?: (channel: string) => unknown;
|
|
1062
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
1063
|
-
showKeywords?: boolean;
|
|
1064
1050
|
}
|
|
1065
1051
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1066
1052
|
|
|
@@ -1168,18 +1154,6 @@ interface NewsEditorProps {
|
|
|
1168
1154
|
}
|
|
1169
1155
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1170
1156
|
|
|
1171
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1172
|
-
filter?: LibNewsFilterDefinition;
|
|
1173
|
-
searchText?: string;
|
|
1174
|
-
}
|
|
1175
|
-
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1176
|
-
|
|
1177
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1178
|
-
filter?: EventFilterDefinition;
|
|
1179
|
-
searchText?: string;
|
|
1180
|
-
}
|
|
1181
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1182
|
-
|
|
1183
1157
|
interface EditorToolbarIndicatorsProps {
|
|
1184
1158
|
className?: string;
|
|
1185
1159
|
}
|
|
@@ -1200,6 +1174,18 @@ declare const NewsEditorPanel: FC<{
|
|
|
1200
1174
|
className?: string;
|
|
1201
1175
|
}>;
|
|
1202
1176
|
|
|
1177
|
+
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1178
|
+
filter?: LibNewsFilterDefinition;
|
|
1179
|
+
searchText?: string;
|
|
1180
|
+
}
|
|
1181
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1182
|
+
|
|
1183
|
+
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1184
|
+
filter?: EventFilterDefinition;
|
|
1185
|
+
searchText?: string;
|
|
1186
|
+
}
|
|
1187
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1188
|
+
|
|
1203
1189
|
interface PostInputBoxProps {
|
|
1204
1190
|
onBeforeSave?: (post: Post) => void;
|
|
1205
1191
|
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,ar as LogicalOperator,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";
|