@livetiles/reach-components-react 0.3.156 → 0.3.159

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
@@ -494,6 +494,7 @@ interface BannerInfo {
494
494
  videoUrl?: string;
495
495
  isDirectVideoUrl?: boolean;
496
496
  imageId?: string;
497
+ altText?: string;
497
498
  }
498
499
  interface LeaseInfo {
499
500
  leaseId: string | null;
@@ -548,6 +549,14 @@ interface ChoiceTranslations {
548
549
 
549
550
  declare function useCurrentUser(): CurrentUser;
550
551
 
552
+ declare enum ItemResourceTypes {
553
+ News = "news",
554
+ Pages = "pages",
555
+ Posts = "posts",
556
+ Events = "events",
557
+ Comments = "comments"
558
+ }
559
+
551
560
  declare enum EventResponse {
552
561
  NotSet = 0,
553
562
  Registered = 1,
@@ -750,6 +759,13 @@ interface UserDetailsProps {
750
759
  }
751
760
  declare const UserDetails: FC<UserDetailsProps>;
752
761
 
762
+ interface PageViewTrackerSettings {
763
+ disabled?: boolean;
764
+ }
765
+ declare const PageViewTrackerSettingsContextProvider: FC<{
766
+ disabled?: boolean;
767
+ }>;
768
+
753
769
  interface OwnerFilterDefinition extends IndexableFilterDefinition {
754
770
  owner?: string;
755
771
  }
@@ -804,6 +820,12 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
804
820
  unreadOnly?: boolean;
805
821
  }
806
822
 
823
+ interface TargetLinkOverrideContextProps {
824
+ onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
825
+ onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
826
+ }
827
+ declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
828
+
807
829
  interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
808
830
  startsAfter?: string;
809
831
  startsBefore?: string;
@@ -818,6 +840,16 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
818
840
  pastEventsOnly?: boolean;
819
841
  }
820
842
 
843
+ interface KeywordPickerProps {
844
+ value?: Keyword[] | string[];
845
+ onChange: (keywords: Keyword[]) => void;
846
+ showSelectionToggle?: boolean;
847
+ availableKeywords?: Keyword[];
848
+ mandatoryKeywordIds?: string[];
849
+ className?: string;
850
+ }
851
+ declare const ScrollableKeywordPicker: styled_components.StyledComponent<FC<KeywordPickerProps>, styled_components.DefaultTheme, {}, never>;
852
+
821
853
  interface LibNewsFilterDefinition extends Omit<NewsFilterDefinition, 'channels' | 'keywords'> {
822
854
  channels?: string | FilterWithLogicalOperator;
823
855
  keywords?: string | FilterWithLogicalOperator;
@@ -1040,4 +1072,4 @@ declare const NewsEditorPanel: FC<{
1040
1072
  className?: string;
1041
1073
  }>;
1042
1074
 
1043
- export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, ItemLayoutMode, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PostDetail, PostDetailProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, useCurrentUser };
1075
+ export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PostDetail, PostDetailProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, useCurrentUser };
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export{$ as AuthorFilter,Z as AuthorToolbarFilter,A as Avatar,L as ChannelFilter,a4 as ChannelSelector,O as ChannelToolbarFilter,W as ClearAllFiltersButton,a8 as EditorToolbarIndicators,E as EventDetail,a3 as EventView,r as EventsEditorDashboard,l as EventsGrid,n as EventsList,a0 as FilterSearch,I as ItemLayoutMode,X as KeywordsFilter,Y as KeywordsToolbarFilter,M as ManageChannels,N as NewsDetail,F as NewsDetailPreview,a5 as NewsEditor,a6 as NewsEditorContextProvider,q as NewsEditorDashboard,aa as NewsEditorPanel,a9 as NewsEditorToolbarStateActions,k as NewsGrid,p as NewsHero,B as NewsItemContextProvider,G as NewsItemPreviewContextProvider,j as NewsList,h as PageDetail,i as PostDetail,S as PublishingDateFilter,Q as PublishingDateToolbarFilter,R as ReachContextProvider,a7 as ReachDialog,s as Toolbar,w as ToolbarChannelSelector,z as ToolbarCloseButton,a2 as ToolbarEventViewSelector,J as ToolbarFilterModal,K as ToolbarFilterModalButton,H as ToolbarFilterPanel,a1 as ToolbarFilterSearch,t as ToolbarIconButton,D as ToolbarManageNewsItemButton,x as ToolbarMarkAllEventsAsReadButton,y as ToolbarMarkAllNewsAsReadButton,C as ToolbarNewsLanguageSelector,v as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,o 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{$ as AuthorFilter,Z as AuthorToolbarFilter,A as Avatar,L as ChannelFilter,a4 as ChannelSelector,O as ChannelToolbarFilter,W as ClearAllFiltersButton,aa as EditorToolbarIndicators,E as EventDetail,a3 as EventView,r as EventsEditorDashboard,l as EventsGrid,n as EventsList,a0 as FilterSearch,I as ItemLayoutMode,a9 as ItemResourceTypes,ad as KeywordPicker,X as KeywordsFilter,Y as KeywordsToolbarFilter,M as ManageChannels,N as NewsDetail,F as NewsDetailPreview,a5 as NewsEditor,a6 as NewsEditorContextProvider,q as NewsEditorDashboard,ac as NewsEditorPanel,ab as NewsEditorToolbarStateActions,k as NewsGrid,p as NewsHero,B as NewsItemContextProvider,G as NewsItemPreviewContextProvider,j as NewsList,h as PageDetail,a7 as PageViewTrackerSettingsContextProvider,i as PostDetail,S as PublishingDateFilter,Q as PublishingDateToolbarFilter,R as ReachContextProvider,ae as ReachDialog,a8 as TargetLinkOverrideContextProvider,s as Toolbar,w as ToolbarChannelSelector,z as ToolbarCloseButton,a2 as ToolbarEventViewSelector,J as ToolbarFilterModal,K as ToolbarFilterModalButton,H as ToolbarFilterPanel,a1 as ToolbarFilterSearch,t as ToolbarIconButton,D as ToolbarManageNewsItemButton,x as ToolbarMarkAllEventsAsReadButton,y as ToolbarMarkAllNewsAsReadButton,C as ToolbarNewsLanguageSelector,v as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,o 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";