@livetiles/reach-components-react 0.5.0-preview.545 → 0.5.0-preview.548

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
@@ -48,7 +48,6 @@ declare type ReachContextProps = {
48
48
  subscriptionId: string;
49
49
  language?: string;
50
50
  disableUiFabricThemeOverwrite?: boolean;
51
- locale?: string;
52
51
  /**
53
52
  * These properties can be used to define the behavior of the analytics module.
54
53
  *
@@ -416,6 +415,14 @@ declare enum FieldMode {
416
415
  Hidden = 3
417
416
  }
418
417
 
418
+ interface Channel {
419
+ id: string;
420
+ name: string;
421
+ translations?: {
422
+ [key: string]: string;
423
+ };
424
+ }
425
+
419
426
  interface KeywordGroup {
420
427
  id: string;
421
428
  name: string;
@@ -464,14 +471,6 @@ declare enum KnownNewsState {
464
471
  Alert = 2
465
472
  }
466
473
 
467
- interface Channel {
468
- id: string;
469
- name: string;
470
- translations?: {
471
- [key: string]: string;
472
- };
473
- }
474
-
475
474
  declare type VersionId = string;
476
475
  interface SchedulableItem extends PublishableItem {
477
476
  metadata?: NewsMetadata;
@@ -483,6 +482,7 @@ interface NewsItem extends SchedulableItem {
483
482
  expiryDate?: string;
484
483
  knownState: KnownNewsState;
485
484
  hasNewComments?: boolean;
485
+ isLiked?: boolean;
486
486
  }
487
487
  interface NewsItemAlertOptions {
488
488
  duration?: string;
@@ -502,19 +502,6 @@ interface BaseItem {
502
502
  id?: string;
503
503
  statistics?: ItemStatistics;
504
504
  poll?: Poll;
505
- searchHighlights?: SearchHighlightSummary;
506
- }
507
- interface SearchHighlightSummary {
508
- title: SearchHighlight[];
509
- content: SearchHighlight[];
510
- }
511
- interface SearchHighlight {
512
- language: string;
513
- texts: {
514
- value: string;
515
- type: 'text' | 'hit';
516
- }[];
517
- score: number;
518
505
  }
519
506
  interface Poll {
520
507
  questions: PollQuestion[];
@@ -549,6 +536,7 @@ interface PublishableItemContent extends ContentDefinition {
549
536
  headline?: string;
550
537
  intro?: string;
551
538
  body?: string;
539
+ bodyRaw?: string;
552
540
  customProperties?: {
553
541
  [key: string]: any;
554
542
  };
@@ -613,7 +601,6 @@ interface PublishableItem extends BaseItem {
613
601
  statistics?: ItemStatistics;
614
602
  useExternalContent?: boolean;
615
603
  isDemoContent?: boolean;
616
- isLiked?: boolean;
617
604
  }
618
605
  interface PollTranslation {
619
606
  questions: QuestionTranslations[];
@@ -870,7 +857,7 @@ interface LazySubscriptionContextType extends SubscriptionData {
870
857
 
871
858
  declare function useLazySubscriptionContext(): LazySubscriptionContextType;
872
859
 
873
- declare const LegacyDialog: FC<IDialogProps>;
860
+ declare const Dialog: FC<IDialogProps>;
874
861
 
875
862
  interface ToolbarProps {
876
863
  leftSide?: ReactNode;
@@ -1032,6 +1019,25 @@ declare enum LogicalOperator {
1032
1019
  And = "AND"
1033
1020
  }
1034
1021
 
1022
+ interface AuthorFilterDefinition extends IndexableFilterDefinition {
1023
+ author?: string;
1024
+ }
1025
+
1026
+ interface ChannelsFilterDefinition extends IndexableFilterDefinition {
1027
+ channels?: FilterWithLogicalOperator;
1028
+ }
1029
+
1030
+ interface StateFilterDefinition extends IndexableFilterDefinition {
1031
+ state?: WorkflowStatus;
1032
+ }
1033
+
1034
+ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
1035
+ groupId?: string;
1036
+ bookmarksOnly?: boolean;
1037
+ unreadOnly?: boolean;
1038
+ includeExpired?: boolean;
1039
+ }
1040
+
1035
1041
  interface Post extends BaseItem, ItemWithAttachments {
1036
1042
  id: string;
1037
1043
  comments?: PaginatedList<Comment>;
@@ -1058,14 +1064,6 @@ interface PostFilterDefinition {
1058
1064
  keywords?: FilterWithLogicalOperator;
1059
1065
  }
1060
1066
 
1061
- interface AuthorFilterDefinition extends IndexableFilterDefinition {
1062
- author?: string;
1063
- }
1064
-
1065
- interface ChannelsFilterDefinition extends IndexableFilterDefinition {
1066
- channels?: FilterWithLogicalOperator;
1067
- }
1068
-
1069
1067
  interface EventContactsFilterDefinition extends IndexableFilterDefinition {
1070
1068
  contacts?: string[];
1071
1069
  }
@@ -1080,17 +1078,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
1080
1078
  pastEventsOnly?: boolean;
1081
1079
  }
1082
1080
 
1083
- interface StateFilterDefinition extends IndexableFilterDefinition {
1084
- state?: WorkflowStatus;
1085
- }
1086
-
1087
- interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
1088
- groupId?: string;
1089
- bookmarksOnly?: boolean;
1090
- unreadOnly?: boolean;
1091
- includeExpired?: boolean;
1092
- }
1093
-
1094
1081
  declare enum StreamEventResponse {
1095
1082
  NotSet = "NOTSET",
1096
1083
  Registered = "REGISTERED",
@@ -1609,4 +1596,4 @@ interface ErrorWrapperProps {
1609
1596
  }
1610
1597
  declare const ErrorWrapper: FC<ErrorWrapperProps>;
1611
1598
 
1612
- export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, LegacyDialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
1599
+ export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export{aZ as AuthorFilter,aY as AuthorToolbarFilter,ar as Avatar,aR as ChannelFilter,b2 as ChannelSelector,aS as ChannelToolbarFilter,aV as ClearAllFiltersButton,bm as ContactToolbarFilter,ba as EditorToolbarIndicators,bC as ErrorType,bB as ErrorWrapper,bn as EventDatesToolbarFilter,ag as EventDetail,aJ as EventDetailPreview,bs as EventEditor,bt as EventEditorContextProvider,bu as EventEditorPanel,bw as EventEditorToolbarRecurringControls,bv as EventEditorToolbarStateActions,aE as EventItemContextProvider,aM as EventItemPreviewContextProvider,b1 as EventView,au as EventsEditorDashboard,al as EventsGrid,am as EventsList,a_ as FilterSearch,bh as GroupNotificationsSettings,aj as ItemLayoutMode,b7 as ItemResourceTypes,b8 as KeywordPicker,aW as KeywordsFilter,aX as KeywordsToolbarFilter,bo as LogicalOperator,an as ManageChannels,ae as NewsDetail,aH as NewsDetailPreview,b3 as NewsEditor,b4 as NewsEditorContextProvider,at as NewsEditorDashboard,bc as NewsEditorPanel,bb as NewsEditorToolbarStateActions,ak as NewsGrid,as as NewsHero,aC as NewsItemContextProvider,aK as NewsItemPreviewContextProvider,ai as NewsList,af as PageDetail,aI as PageDetailPreview,by as PageEditor,bx as PageEditorContextProvider,bA as PageEditorPanel,bz as PageEditorToolbarStateActions,aD as PageItemContextProvider,aL as PageItemPreviewContextProvider,br as PageType,b5 as PageViewTrackerSettingsContextProvider,bp as PagesGrid,bq as PagesList,ah as PostDetail,bg as PostGroupSelector,bj as PostGroupSelectorButton,bf as PostGroupsPicker,bd as PostInputBox,be as PostList,ad as PostListContextProvider,aU as PublishingDateFilter,aT as PublishingDateToolbarFilter,ac as ReachContextProvider,b9 as ReachDialog,b6 as TargetLinkOverrideContextProvider,av as Toolbar,ay as ToolbarChannelSelector,aB as ToolbarCloseButton,b0 as ToolbarEventViewSelector,aO as ToolbarFilterModal,aP as ToolbarFilterModalButton,aN as ToolbarFilterPanel,a$ as ToolbarFilterSearch,bk as ToolbarFilterToggleButton,aw as ToolbarIconButton,aF as ToolbarLanguageSelector,aG as ToolbarManageNewsItemButton,az as ToolbarMarkAllEventsAsReadButton,aA as ToolbarMarkAllNewsAsReadButton,aF as ToolbarNewsLanguageSelector,bi as ToolbarPostNotificationButton,ax as ToolbarUnreadItemsButton,aq as UserDetails,aQ as VerticalFilterPanel,bl as isFilterActive,ao as useCurrentUser,bF as useEventsStreamDataLoader,ap as useLazySubscriptionContext,bG as useNewsStreamDataLoader,bD as usePagesStreamDataLoader,bE as usePostsStreamDataLoader}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{aI as AuthorFilter,aH as AuthorToolbarFilter,aa as Avatar,aA as ChannelFilter,aN as ChannelSelector,aB as ChannelToolbarFilter,aE as ClearAllFiltersButton,b5 as ContactToolbarFilter,aX as EditorToolbarIndicators,bl as ErrorType,bk as ErrorWrapper,b6 as EventDatesToolbarFilter,$ as EventDetail,as as EventDetailPreview,bb as EventEditor,bc as EventEditorContextProvider,bd as EventEditorPanel,bf as EventEditorToolbarRecurringControls,be as EventEditorToolbarStateActions,an as EventItemContextProvider,av as EventItemPreviewContextProvider,aM as EventView,ad as EventsEditorDashboard,a4 as EventsGrid,a5 as EventsList,aJ as FilterSearch,b0 as GroupNotificationsSettings,a2 as ItemLayoutMode,aS as ItemResourceTypes,aV as KeywordPicker,aF as KeywordsFilter,aG as KeywordsToolbarFilter,b7 as LogicalOperator,a6 as ManageChannels,Y as NewsDetail,aq as NewsDetailPreview,aO as NewsEditor,aP as NewsEditorContextProvider,ac as NewsEditorDashboard,aU as NewsEditorPanel,aT as NewsEditorToolbarStateActions,a3 as NewsGrid,ab as NewsHero,al as NewsItemContextProvider,at as NewsItemPreviewContextProvider,a1 as NewsList,Z as PageDetail,ar as PageDetailPreview,bh as PageEditor,bg as PageEditorContextProvider,bj as PageEditorPanel,bi as PageEditorToolbarStateActions,am as PageItemContextProvider,au as PageItemPreviewContextProvider,ba as PageType,aQ as PageViewTrackerSettingsContextProvider,b8 as PagesGrid,b9 as PagesList,a0 as PostDetail,a$ as PostGroupSelector,b2 as PostGroupSelectorButton,a_ as PostGroupsPicker,aY as PostInputBox,aZ as PostList,W as PostListContextProvider,aD as PublishingDateFilter,aC as PublishingDateToolbarFilter,V as ReachContextProvider,aW as ReachDialog,aR as TargetLinkOverrideContextProvider,ae as Toolbar,ah as ToolbarChannelSelector,ak as ToolbarCloseButton,aL as ToolbarEventViewSelector,ax as ToolbarFilterModal,ay as ToolbarFilterModalButton,aw as ToolbarFilterPanel,aK as ToolbarFilterSearch,b3 as ToolbarFilterToggleButton,af as ToolbarIconButton,ao as ToolbarLanguageSelector,ap as ToolbarManageNewsItemButton,ai as ToolbarMarkAllEventsAsReadButton,aj as ToolbarMarkAllNewsAsReadButton,ao as ToolbarNewsLanguageSelector,b1 as ToolbarPostNotificationButton,ag as ToolbarUnreadItemsButton,a9 as UserDetails,az as VerticalFilterPanel,b4 as isFilterActive,a7 as useCurrentUser,bo as useEventsStreamDataLoader,a8 as useLazySubscriptionContext,bp as useNewsStreamDataLoader,bm as usePagesStreamDataLoader,bn as usePostsStreamDataLoader}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";