@livetiles/reach-components-react 0.5.0-preview.253 → 0.5.0-preview.256

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/index.d.ts CHANGED
@@ -479,19 +479,6 @@ interface BaseItem {
479
479
  id?: string;
480
480
  statistics?: ItemStatistics;
481
481
  poll?: Poll;
482
- searchHighlights?: SearchHighlightSummary;
483
- }
484
- interface SearchHighlightSummary {
485
- title: SearchHighlight[];
486
- content: SearchHighlight[];
487
- }
488
- interface SearchHighlight {
489
- language: string;
490
- texts: {
491
- value: string;
492
- type: 'text' | 'hit';
493
- }[];
494
- score: number;
495
482
  }
496
483
  interface Poll {
497
484
  questions: PollQuestion[];
@@ -526,6 +513,7 @@ interface PublishableItemContent extends ContentDefinition {
526
513
  headline?: string;
527
514
  intro?: string;
528
515
  body?: string;
516
+ bodyRaw?: string;
529
517
  customProperties?: {
530
518
  [key: string]: any;
531
519
  };
@@ -982,31 +970,11 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
982
970
  includeExpired?: boolean;
983
971
  }
984
972
 
985
- interface Post extends BaseItem, ItemWithAttachments {
986
- id: string;
987
- comments?: PaginatedList<Comment>;
988
- groupId: string;
989
- content: string;
990
- permalink?: string;
991
- author: Account;
992
- publishingDate: string;
993
- modified?: string;
994
- statistics: ItemStatistics;
995
- keywords?: {
996
- [key: string]: Keyword[];
997
- };
998
- contentLanguageCode?: string;
999
- isLiked?: boolean;
1000
- isUnread?: boolean;
1001
- isDemoContent?: boolean;
1002
- isFollowing?: boolean;
973
+ interface TargetLinkOverrideContextProps {
974
+ onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
975
+ onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1003
976
  }
1004
- interface PostFilterDefinition {
1005
- token?: string;
1006
- pageSize?: string;
1007
- search?: string;
1008
- keywords?: FilterWithLogicalOperator;
1009
- }
977
+ declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1010
978
 
1011
979
  interface EventContactsFilterDefinition extends IndexableFilterDefinition {
1012
980
  contacts?: string[];
@@ -1022,12 +990,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
1022
990
  pastEventsOnly?: boolean;
1023
991
  }
1024
992
 
1025
- interface TargetLinkOverrideContextProps {
1026
- onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
1027
- onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1028
- }
1029
- declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1030
-
1031
993
  interface KeywordPickerProps {
1032
994
  value?: Keyword[] | string[];
1033
995
  onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
@@ -1048,6 +1010,32 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
1048
1010
  pageType?: PageType;
1049
1011
  }
1050
1012
 
1013
+ interface Post extends BaseItem, ItemWithAttachments {
1014
+ id: string;
1015
+ comments?: PaginatedList<Comment>;
1016
+ groupId: string;
1017
+ content: string;
1018
+ permalink?: string;
1019
+ author: Account;
1020
+ publishingDate: string;
1021
+ modified?: string;
1022
+ statistics: ItemStatistics;
1023
+ keywords?: {
1024
+ [key: string]: Keyword[];
1025
+ };
1026
+ contentLanguageCode?: string;
1027
+ isLiked?: boolean;
1028
+ isUnread?: boolean;
1029
+ isDemoContent?: boolean;
1030
+ isFollowing?: boolean;
1031
+ }
1032
+ interface PostFilterDefinition {
1033
+ token?: string;
1034
+ pageSize?: string;
1035
+ search?: string;
1036
+ keywords?: FilterWithLogicalOperator;
1037
+ }
1038
+
1051
1039
  interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
1052
1040
  }
1053
1041
 
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export{aC as AuthorFilter,aB as AuthorToolbarFilter,a8 as Avatar,au as ChannelFilter,aH as ChannelSelector,av as ChannelToolbarFilter,ay as ClearAllFiltersButton,a$ as ContactToolbarFilter,aP as EditorToolbarIndicators,b0 as EventDatesToolbarFilter,Y as EventDetail,b5 as EventEditor,b6 as EventEditorContextProvider,b7 as EventEditorPanel,b9 as EventEditorToolbarRecurringControls,b8 as EventEditorToolbarStateActions,al as EventItemContextProvider,aG as EventView,ab as EventsEditorDashboard,a3 as EventsGrid,a4 as EventsList,aD as FilterSearch,aW as GroupNotificationsSettings,a1 as ItemLayoutMode,aM as ItemResourceTypes,aN as KeywordPicker,az as KeywordsFilter,aA as KeywordsToolbarFilter,b1 as LogicalOperator,a5 as ManageChannels,V as NewsDetail,ao as NewsDetailPreview,aI as NewsEditor,aJ as NewsEditorContextProvider,aa as NewsEditorDashboard,aR as NewsEditorPanel,aQ as NewsEditorToolbarStateActions,a2 as NewsGrid,a9 as NewsHero,aj as NewsItemContextProvider,ap as NewsItemPreviewContextProvider,a0 as NewsList,X as PageDetail,bb as PageEditor,ba as PageEditorContextProvider,bd as PageEditorPanel,bc as PageEditorToolbarStateActions,ak as PageItemContextProvider,b4 as PageType,aK as PageViewTrackerSettingsContextProvider,b2 as PagesGrid,b3 as PagesList,Z as PostDetail,aV as PostGroupSelector,aY as PostGroupSelectorButton,aU as PostGroupsPicker,aS as PostInputBox,aT as PostList,U as PostListContextProvider,ax as PublishingDateFilter,aw as PublishingDateToolbarFilter,S as ReachContextProvider,aO as ReachDialog,aL as TargetLinkOverrideContextProvider,ac as Toolbar,af as ToolbarChannelSelector,ai as ToolbarCloseButton,aF as ToolbarEventViewSelector,ar as ToolbarFilterModal,as as ToolbarFilterModalButton,aq as ToolbarFilterPanel,aE as ToolbarFilterSearch,aZ as ToolbarFilterToggleButton,ad as ToolbarIconButton,am as ToolbarLanguageSelector,an as ToolbarManageNewsItemButton,ag as ToolbarMarkAllEventsAsReadButton,ah as ToolbarMarkAllNewsAsReadButton,am as ToolbarNewsLanguageSelector,aX as ToolbarPostNotificationButton,ae as ToolbarUnreadItemsButton,a7 as UserDetails,at as VerticalFilterPanel,a_ as isFilterActive,a6 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";
1
+ export{ad as AuthorFilter,ac as AuthorToolbarFilter,C as Avatar,a5 as ChannelFilter,ai as ChannelSelector,a6 as ChannelToolbarFilter,a9 as ClearAllFiltersButton,aC as ContactToolbarFilter,as as EditorToolbarIndicators,aD as EventDatesToolbarFilter,E as EventDetail,aI as EventEditor,aJ as EventEditorContextProvider,aK as EventEditorPanel,aM as EventEditorToolbarRecurringControls,aL as EventEditorToolbarStateActions,X as EventItemContextProvider,ah as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ae as FilterSearch,ax as GroupNotificationsSettings,I as ItemLayoutMode,an as ItemResourceTypes,aq as KeywordPicker,aa as KeywordsFilter,ab as KeywordsToolbarFilter,aE as LogicalOperator,M as ManageChannels,N as NewsDetail,$ as NewsDetailPreview,aj as NewsEditor,ak as NewsEditorContextProvider,F as NewsEditorDashboard,ap as NewsEditorPanel,ao as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,a0 as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aO as PageEditor,aN as PageEditorContextProvider,aQ as PageEditorPanel,aP as PageEditorToolbarStateActions,W as PageItemContextProvider,aH as PageType,al as PageViewTrackerSettingsContextProvider,aF as PagesGrid,aG as PagesList,w as PostDetail,aw as PostGroupSelector,az as PostGroupSelectorButton,av as PostGroupsPicker,at as PostInputBox,au as PostList,t as PostListContextProvider,a8 as PublishingDateFilter,a7 as PublishingDateToolbarFilter,R as ReachContextProvider,ar as ReachDialog,am as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ag as ToolbarEventViewSelector,a2 as ToolbarFilterModal,a3 as ToolbarFilterModalButton,a1 as ToolbarFilterPanel,af as ToolbarFilterSearch,aA as ToolbarFilterToggleButton,J as ToolbarIconButton,Y as ToolbarLanguageSelector,Z as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,Y as ToolbarNewsLanguageSelector,ay as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a4 as VerticalFilterPanel,aB as isFilterActive,B 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";