@livetiles/reach-components-react 0.4.0-preview.952 → 0.4.0-preview.953

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
@@ -384,7 +384,6 @@ interface ItemStatistics {
384
384
  confirmationCount?: number;
385
385
  bookmarkCount?: number;
386
386
  participantsCount?: number;
387
- replyCount?: number;
388
387
  }
389
388
 
390
389
  interface NotificationSettings {
@@ -447,19 +446,6 @@ interface BaseItem {
447
446
  id?: string;
448
447
  statistics?: ItemStatistics;
449
448
  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
449
  }
464
450
  interface Poll {
465
451
  questions: PollQuestion[];
@@ -494,6 +480,7 @@ interface PublishableItemContent extends ContentDefinition {
494
480
  headline?: string;
495
481
  intro?: string;
496
482
  body?: string;
483
+ bodyRaw?: string;
497
484
  customProperties?: {
498
485
  [key: string]: any;
499
486
  };
@@ -904,15 +891,15 @@ interface TargetLinkOverrideContextProps {
904
891
  }
905
892
  declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
906
893
 
907
- interface EventContactsFilterDefinition extends IndexableFilterDefinition {
908
- contacts?: string[];
909
- }
910
-
911
894
  interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
912
895
  startsAfter?: string;
913
896
  startsBefore?: string;
914
897
  }
915
898
 
899
+ interface EventContactsFilterDefinition extends IndexableFilterDefinition {
900
+ contacts?: string[];
901
+ }
902
+
916
903
  interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
917
904
  excludePastEvents?: boolean;
918
905
  pastEventsOnly?: boolean;
@@ -920,12 +907,10 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
920
907
 
921
908
  interface KeywordPickerProps {
922
909
  value?: Keyword[] | string[];
923
- onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
910
+ onChange: (keywords: Keyword[]) => void;
924
911
  showSelectionToggle?: boolean;
925
912
  availableKeywords?: Keyword[];
926
913
  mandatoryKeywordIds?: string[];
927
- showLogicalOperatorOptions?: boolean;
928
- selectedLogicalOperator?: LogicalOperator;
929
914
  className?: string;
930
915
  }
931
916
  declare const ScrollableKeywordPicker: styled_components.StyledComponent<FC<KeywordPickerProps>, styled_components.DefaultTheme, {}, never>;
@@ -989,9 +974,8 @@ interface ManageChannelsProps {
989
974
  declare const ManageChannels: FC<ManageChannelsProps>;
990
975
 
991
976
  interface ChannelSelectorWrapperProps {
992
- onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
993
- showLogicalOperatorOptions?: boolean;
994
- defaultSelectedChannels?: string[] | FilterWithLogicalOperator;
977
+ onChannelsChanged: (channels: Channel[]) => void;
978
+ defaultSelectedChannels?: string[];
995
979
  className?: string;
996
980
  }
997
981
  declare const ChannelSelectorWrapper: FC<ChannelSelectorWrapperProps>;
@@ -1058,7 +1042,6 @@ interface NewsHeroProps {
1058
1042
  width?: number | string;
1059
1043
  height?: number | string;
1060
1044
  includeAllItems?: boolean;
1061
- onChannelClick?: (channel: string) => unknown;
1062
1045
  }
1063
1046
  declare const NewsHero: FC<NewsHeroProps>;
1064
1047
 
@@ -1166,18 +1149,6 @@ interface NewsEditorProps {
1166
1149
  }
1167
1150
  declare const NewsEditor: FC<NewsEditorProps>;
1168
1151
 
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
-
1181
1152
  interface EditorToolbarIndicatorsProps {
1182
1153
  className?: string;
1183
1154
  }
@@ -1198,6 +1169,18 @@ declare const NewsEditorPanel: FC<{
1198
1169
  className?: string;
1199
1170
  }>;
1200
1171
 
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
+
1201
1184
  interface PostInputBoxProps {
1202
1185
  onBeforeSave?: (post: Post) => void;
1203
1186
  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,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";
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";