@livetiles/reach-components-react 0.5.0-preview.300 → 0.5.0-preview.301
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/AnalyticsContextProvider-dummy.d.ts +2 -0
- package/EventDetail.d.ts +0 -6
- package/NewsDetailPreview.d.ts +7 -0
- package/PageDetail.d.ts +0 -6
- package/PageTableOfContents.d.ts +0 -1
- package/ReachContext.d.ts +0 -12
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +9 -42
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -32
- package/index.umd.js +22 -37
- package/package.json +1 -1
- package/AnalyticsDummyContextProvider.d.ts +0 -2
- package/EventItemPreviewContextProvider.d.ts +0 -5
- package/PageItemPreviewContextProvider.d.ts +0 -5
- package/SharedItemDetailPreview.d.ts +0 -16
- package/asn1.esm.js +0 -1
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
- package/javascript.esm.js +0 -1
- package/mllike.esm.js +0 -1
- package/python.esm.js +0 -1
- package/rpm.esm.js +0 -1
- package/sql.esm.js +0 -1
- package/ttcn-cfg.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -13,18 +13,6 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* These properties can be used to define the behavior of the analytics module.
|
|
18
|
-
*
|
|
19
|
-
* With `disableAnalytics` you can completely disable all analytics tracking.
|
|
20
|
-
* The `appName` is optional but highly encouraged to be set,
|
|
21
|
-
* in order to know where the components are used in. The value must be a non-empty string,
|
|
22
|
-
* only containing alphabetical letters and dashes (-). Should not be longer than 30 characters.
|
|
23
|
-
*/
|
|
24
|
-
analyticsProps?: {
|
|
25
|
-
disableAnalytics?: boolean;
|
|
26
|
-
appName?: string;
|
|
27
|
-
};
|
|
28
16
|
};
|
|
29
17
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
30
18
|
|
|
@@ -464,6 +452,11 @@ interface NewsItem extends SchedulableItem {
|
|
|
464
452
|
knownState: KnownNewsState;
|
|
465
453
|
hasNewComments?: boolean;
|
|
466
454
|
isLiked?: boolean;
|
|
455
|
+
shareToken?: ShareToken;
|
|
456
|
+
}
|
|
457
|
+
interface ShareToken {
|
|
458
|
+
published?: string;
|
|
459
|
+
preview?: string;
|
|
467
460
|
}
|
|
468
461
|
interface NewsItemAlertOptions {
|
|
469
462
|
duration?: string;
|
|
@@ -486,19 +479,6 @@ interface BaseItem {
|
|
|
486
479
|
id?: string;
|
|
487
480
|
statistics?: ItemStatistics;
|
|
488
481
|
poll?: Poll;
|
|
489
|
-
searchHighlights?: SearchHighlightSummary;
|
|
490
|
-
}
|
|
491
|
-
interface SearchHighlightSummary {
|
|
492
|
-
title: SearchHighlight[];
|
|
493
|
-
content: SearchHighlight[];
|
|
494
|
-
}
|
|
495
|
-
interface SearchHighlight {
|
|
496
|
-
language: string;
|
|
497
|
-
texts: {
|
|
498
|
-
value: string;
|
|
499
|
-
type: 'text' | 'hit';
|
|
500
|
-
}[];
|
|
501
|
-
score: number;
|
|
502
482
|
}
|
|
503
483
|
interface Poll {
|
|
504
484
|
questions: PollQuestion[];
|
|
@@ -533,6 +513,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
533
513
|
headline?: string;
|
|
534
514
|
intro?: string;
|
|
535
515
|
body?: string;
|
|
516
|
+
bodyRaw?: string;
|
|
536
517
|
customProperties?: {
|
|
537
518
|
[key: string]: any;
|
|
538
519
|
};
|
|
@@ -1204,32 +1185,18 @@ declare const ToolbarManageNewsItemButton: FC<{
|
|
|
1204
1185
|
onClick?: (itemId: string) => unknown;
|
|
1205
1186
|
}>;
|
|
1206
1187
|
|
|
1207
|
-
interface
|
|
1188
|
+
interface NewsDetailPreviewProps {
|
|
1208
1189
|
itemId?: string;
|
|
1209
1190
|
versionId?: string;
|
|
1210
1191
|
className?: string;
|
|
1211
|
-
hideLikes?: boolean;
|
|
1212
|
-
hideComments?: boolean;
|
|
1213
1192
|
}
|
|
1214
|
-
declare const NewsDetailPreview: FC<
|
|
1215
|
-
declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1216
|
-
declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1193
|
+
declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
|
|
1217
1194
|
|
|
1218
1195
|
declare const NewsItemPreviewContextProvider: FC<{
|
|
1219
1196
|
itemId: string;
|
|
1220
1197
|
versionId?: string;
|
|
1221
1198
|
}>;
|
|
1222
1199
|
|
|
1223
|
-
declare const PageItemPreviewContextProvider: FC<{
|
|
1224
|
-
itemId: string;
|
|
1225
|
-
versionId?: string;
|
|
1226
|
-
}>;
|
|
1227
|
-
|
|
1228
|
-
declare const EventItemPreviewContextProvider: FC<{
|
|
1229
|
-
itemId: string;
|
|
1230
|
-
versionId?: string;
|
|
1231
|
-
}>;
|
|
1232
|
-
|
|
1233
1200
|
interface FilterProps {
|
|
1234
1201
|
filter: IndexableFilterDefinition;
|
|
1235
1202
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
@@ -1454,4 +1421,4 @@ interface PageEditorPanelProps {
|
|
|
1454
1421
|
}
|
|
1455
1422
|
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1456
1423
|
|
|
1457
|
-
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";
|