@livetiles/reach-components-react 0.4.0-preview.801 → 0.4.0-preview.804
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/ContactToolbarFilter.d.ts +2 -0
- package/PostListContextProvider.d.ts +5 -3
- package/PublishableItemGrid.d.ts +3 -3
- package/PublishableItemList.d.ts +3 -3
- package/UserToolbarFilter.d.ts +8 -0
- package/common/hero/HeroSlide.d.ts +3 -2
- package/common/utils.d.ts +7 -15
- package/da.async.esm.esm.js +1 -1
- package/da.async.esm2.esm.js +1 -0
- package/da.esm.js +1 -0
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +29 -14
- package/index.esm.js +1 -1
- package/index.esm2.js +7 -7
- package/index.umd.js +22 -22
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -446,6 +446,19 @@ interface BaseItem {
|
|
|
446
446
|
id?: string;
|
|
447
447
|
statistics?: ItemStatistics;
|
|
448
448
|
poll?: Poll;
|
|
449
|
+
searchHighlights?: SearchHighlightSummary;
|
|
450
|
+
}
|
|
451
|
+
interface SearchHighlightSummary {
|
|
452
|
+
title: SearchHighlight[];
|
|
453
|
+
content: SearchHighlight[];
|
|
454
|
+
}
|
|
455
|
+
interface SearchHighlight {
|
|
456
|
+
language: string;
|
|
457
|
+
texts: {
|
|
458
|
+
value: string;
|
|
459
|
+
type: 'text' | 'hit';
|
|
460
|
+
}[];
|
|
461
|
+
score: number;
|
|
449
462
|
}
|
|
450
463
|
interface Poll {
|
|
451
464
|
questions: PollQuestion[];
|
|
@@ -480,7 +493,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
480
493
|
headline?: string;
|
|
481
494
|
intro?: string;
|
|
482
495
|
body?: string;
|
|
483
|
-
bodyRaw?: string;
|
|
484
496
|
customProperties?: {
|
|
485
497
|
[key: string]: any;
|
|
486
498
|
};
|
|
@@ -765,6 +777,7 @@ interface ToolbarIconButtonProps {
|
|
|
765
777
|
tooltipText?: string;
|
|
766
778
|
tooltipResourceKey?: string;
|
|
767
779
|
disabled?: boolean;
|
|
780
|
+
isActive?: boolean;
|
|
768
781
|
className?: string;
|
|
769
782
|
}
|
|
770
783
|
declare const ToolbarIconButton: styled_components.StyledComponent<FC<ToolbarIconButtonProps>, styled_components.DefaultTheme, {
|
|
@@ -1144,6 +1157,18 @@ interface NewsEditorProps {
|
|
|
1144
1157
|
}
|
|
1145
1158
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1146
1159
|
|
|
1160
|
+
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1161
|
+
filter?: LibNewsFilterDefinition;
|
|
1162
|
+
searchText?: string;
|
|
1163
|
+
}
|
|
1164
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1165
|
+
|
|
1166
|
+
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1167
|
+
filter?: EventFilterDefinition;
|
|
1168
|
+
searchText?: string;
|
|
1169
|
+
}
|
|
1170
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1171
|
+
|
|
1147
1172
|
interface EditorToolbarIndicatorsProps {
|
|
1148
1173
|
className?: string;
|
|
1149
1174
|
}
|
|
@@ -1164,18 +1189,6 @@ declare const NewsEditorPanel: FC<{
|
|
|
1164
1189
|
className?: string;
|
|
1165
1190
|
}>;
|
|
1166
1191
|
|
|
1167
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1168
|
-
filter?: LibNewsFilterDefinition;
|
|
1169
|
-
searchText?: string;
|
|
1170
|
-
}
|
|
1171
|
-
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1172
|
-
|
|
1173
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1174
|
-
filter?: EventFilterDefinition;
|
|
1175
|
-
searchText?: string;
|
|
1176
|
-
}
|
|
1177
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1178
|
-
|
|
1179
1192
|
interface PostInputBoxProps {
|
|
1180
1193
|
onBeforeSave?: (post: Post) => void;
|
|
1181
1194
|
onAfterSave?: (post: Post) => void;
|
|
@@ -1224,4 +1237,6 @@ declare const ToolbarFilterToggleButton: FC<{
|
|
|
1224
1237
|
}>;
|
|
1225
1238
|
declare function isFilterActive(filter: any): boolean;
|
|
1226
1239
|
|
|
1227
|
-
|
|
1240
|
+
declare const ContactToolbarFilter: FC;
|
|
1241
|
+
|
|
1242
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, GroupNotificationsSettings, GroupNotificationsSettingsProps, 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, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
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,
|
|
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,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";
|