@livetiles/reach-components-react 0.5.0-preview.274 → 0.5.0-preview.275
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/EventDetail.d.ts +0 -6
- package/NewsDetailPreview.d.ts +7 -0
- package/PageDetail.d.ts +0 -6
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +9 -30
- package/index.esm.js +1 -1
- package/index.esm2.js +8 -8
- package/index.umd.js +21 -21
- package/package.json +1 -1
- package/EventItemPreviewContextProvider.d.ts +0 -5
- package/PageItemPreviewContextProvider.d.ts +0 -5
- package/SharedItemDetailPreview.d.ts +0 -25
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -452,6 +452,11 @@ interface NewsItem extends SchedulableItem {
|
|
|
452
452
|
knownState: KnownNewsState;
|
|
453
453
|
hasNewComments?: boolean;
|
|
454
454
|
isLiked?: boolean;
|
|
455
|
+
shareToken?: ShareToken;
|
|
456
|
+
}
|
|
457
|
+
interface ShareToken {
|
|
458
|
+
published?: string;
|
|
459
|
+
preview?: string;
|
|
455
460
|
}
|
|
456
461
|
interface NewsItemAlertOptions {
|
|
457
462
|
duration?: string;
|
|
@@ -474,19 +479,6 @@ interface BaseItem {
|
|
|
474
479
|
id?: string;
|
|
475
480
|
statistics?: ItemStatistics;
|
|
476
481
|
poll?: Poll;
|
|
477
|
-
searchHighlights?: SearchHighlightSummary;
|
|
478
|
-
}
|
|
479
|
-
interface SearchHighlightSummary {
|
|
480
|
-
title: SearchHighlight[];
|
|
481
|
-
content: SearchHighlight[];
|
|
482
|
-
}
|
|
483
|
-
interface SearchHighlight {
|
|
484
|
-
language: string;
|
|
485
|
-
texts: {
|
|
486
|
-
value: string;
|
|
487
|
-
type: 'text' | 'hit';
|
|
488
|
-
}[];
|
|
489
|
-
score: number;
|
|
490
482
|
}
|
|
491
483
|
interface Poll {
|
|
492
484
|
questions: PollQuestion[];
|
|
@@ -521,6 +513,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
521
513
|
headline?: string;
|
|
522
514
|
intro?: string;
|
|
523
515
|
body?: string;
|
|
516
|
+
bodyRaw?: string;
|
|
524
517
|
customProperties?: {
|
|
525
518
|
[key: string]: any;
|
|
526
519
|
};
|
|
@@ -1192,32 +1185,18 @@ declare const ToolbarManageNewsItemButton: FC<{
|
|
|
1192
1185
|
onClick?: (itemId: string) => unknown;
|
|
1193
1186
|
}>;
|
|
1194
1187
|
|
|
1195
|
-
interface
|
|
1188
|
+
interface NewsDetailPreviewProps {
|
|
1196
1189
|
itemId?: string;
|
|
1197
1190
|
versionId?: string;
|
|
1198
1191
|
className?: string;
|
|
1199
|
-
hideLikes?: boolean;
|
|
1200
|
-
hideComments?: boolean;
|
|
1201
1192
|
}
|
|
1202
|
-
declare const NewsDetailPreview: FC<
|
|
1203
|
-
declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1204
|
-
declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1193
|
+
declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
|
|
1205
1194
|
|
|
1206
1195
|
declare const NewsItemPreviewContextProvider: FC<{
|
|
1207
1196
|
itemId: string;
|
|
1208
1197
|
versionId?: string;
|
|
1209
1198
|
}>;
|
|
1210
1199
|
|
|
1211
|
-
declare const PageItemPreviewContextProvider: FC<{
|
|
1212
|
-
itemId: string;
|
|
1213
|
-
versionId?: string;
|
|
1214
|
-
}>;
|
|
1215
|
-
|
|
1216
|
-
declare const EventItemPreviewContextProvider: FC<{
|
|
1217
|
-
itemId: string;
|
|
1218
|
-
versionId?: string;
|
|
1219
|
-
}>;
|
|
1220
|
-
|
|
1221
1200
|
interface FilterProps {
|
|
1222
1201
|
filter: IndexableFilterDefinition;
|
|
1223
1202
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
@@ -1442,4 +1421,4 @@ interface PageEditorPanelProps {
|
|
|
1442
1421
|
}
|
|
1443
1422
|
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1444
1423
|
|
|
1445
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail,
|
|
1424
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, 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, ToolbarLanguageSelector, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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,aR 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,aP 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,aO as NewsEditorPanel,aN 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,aQ 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";
|