@livetiles/reach-components-react 0.5.0-preview.477 → 0.5.0-preview.480
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/SharedItemDetailPreview.d.ts +1 -1
- package/common/hero/Hero.d.ts +2 -3
- package/da.async.esm2.esm.js +1 -1
- package/da.async.esm3.esm.js +1 -0
- package/da.esm.js +1 -0
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +21 -9
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -18
- package/index.umd.js +62 -63
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -414,14 +414,6 @@ declare enum FieldMode {
|
|
|
414
414
|
Hidden = 3
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
interface Channel {
|
|
418
|
-
id: string;
|
|
419
|
-
name: string;
|
|
420
|
-
translations?: {
|
|
421
|
-
[key: string]: string;
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
|
|
425
417
|
interface KeywordGroup {
|
|
426
418
|
id: string;
|
|
427
419
|
name: string;
|
|
@@ -470,6 +462,14 @@ declare enum KnownNewsState {
|
|
|
470
462
|
Alert = 2
|
|
471
463
|
}
|
|
472
464
|
|
|
465
|
+
interface Channel {
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
translations?: {
|
|
469
|
+
[key: string]: string;
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
473
|
declare type VersionId = string;
|
|
474
474
|
interface SchedulableItem extends PublishableItem {
|
|
475
475
|
metadata?: NewsMetadata;
|
|
@@ -501,6 +501,19 @@ interface BaseItem {
|
|
|
501
501
|
id?: string;
|
|
502
502
|
statistics?: ItemStatistics;
|
|
503
503
|
poll?: Poll;
|
|
504
|
+
searchHighlights?: SearchHighlightSummary;
|
|
505
|
+
}
|
|
506
|
+
interface SearchHighlightSummary {
|
|
507
|
+
title: SearchHighlight[];
|
|
508
|
+
content: SearchHighlight[];
|
|
509
|
+
}
|
|
510
|
+
interface SearchHighlight {
|
|
511
|
+
language: string;
|
|
512
|
+
texts: {
|
|
513
|
+
value: string;
|
|
514
|
+
type: 'text' | 'hit';
|
|
515
|
+
}[];
|
|
516
|
+
score: number;
|
|
504
517
|
}
|
|
505
518
|
interface Poll {
|
|
506
519
|
questions: PollQuestion[];
|
|
@@ -535,7 +548,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
535
548
|
headline?: string;
|
|
536
549
|
intro?: string;
|
|
537
550
|
body?: string;
|
|
538
|
-
bodyRaw?: string;
|
|
539
551
|
customProperties?: {
|
|
540
552
|
[key: string]: any;
|
|
541
553
|
};
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,aV 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,aT as KeywordPicker,aF as KeywordsFilter,aG as KeywordsToolbarFilter,b7 as LogicalOperator,a6 as ManageChannels,X as NewsDetail,aq as NewsDetailPreview,aO as NewsEditor,aP as NewsEditorContextProvider,ac as NewsEditorDashboard,aX as NewsEditorPanel,aW 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,aU 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,a8 as useLazySubscriptionContext}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";
|