@livetiles/reach-components-react 0.5.0-preview.157 → 0.5.0-preview.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/da.async.esm2.esm.js +1 -1
- package/da.async.esm3.esm.js +1 -0
- package/da.esm.js +1 -0
- package/editor/PageEditorContextProvider.d.ts +0 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +16 -2
- package/index.esm.js +1 -1
- package/index.esm2.js +23 -8
- package/index.umd.js +34 -19
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ interface NotificationTypeSettings {
|
|
|
157
157
|
pluginNotifications: {
|
|
158
158
|
[key: string]: NotificationType;
|
|
159
159
|
};
|
|
160
|
+
newsEditor: NotificationType;
|
|
161
|
+
eventEditor: NotificationType;
|
|
160
162
|
}
|
|
161
163
|
interface CurrentUser extends Account {
|
|
162
164
|
isEmailVerificationPending?: boolean;
|
|
@@ -294,6 +296,7 @@ interface Theme {
|
|
|
294
296
|
primaryColor: string;
|
|
295
297
|
secondaryColor: string;
|
|
296
298
|
useHighlightColorOnWhiteBackground?: boolean;
|
|
299
|
+
customFontColors?: string[];
|
|
297
300
|
}
|
|
298
301
|
interface NavigationNode {
|
|
299
302
|
key: string;
|
|
@@ -471,6 +474,19 @@ interface BaseItem {
|
|
|
471
474
|
id?: string;
|
|
472
475
|
statistics?: ItemStatistics;
|
|
473
476
|
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;
|
|
474
490
|
}
|
|
475
491
|
interface Poll {
|
|
476
492
|
questions: PollQuestion[];
|
|
@@ -505,7 +521,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
505
521
|
headline?: string;
|
|
506
522
|
intro?: string;
|
|
507
523
|
body?: string;
|
|
508
|
-
bodyRaw?: string;
|
|
509
524
|
customProperties?: {
|
|
510
525
|
[key: string]: any;
|
|
511
526
|
};
|
|
@@ -1385,7 +1400,6 @@ declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurrin
|
|
|
1385
1400
|
interface PageEditorContextProviderProps {
|
|
1386
1401
|
itemId?: string;
|
|
1387
1402
|
groupId?: string;
|
|
1388
|
-
parentId?: string;
|
|
1389
1403
|
onSuccessfulCreate?: (itemId: string) => void;
|
|
1390
1404
|
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1391
1405
|
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ab as AuthorFilter,aa as AuthorToolbarFilter,C as Avatar,a3 as ChannelFilter,ag as ChannelSelector,a4 as ChannelToolbarFilter,a7 as ClearAllFiltersButton,aA as ContactToolbarFilter,
|
|
1
|
+
export{ab as AuthorFilter,aa as AuthorToolbarFilter,C as Avatar,a3 as ChannelFilter,ag as ChannelSelector,a4 as ChannelToolbarFilter,a7 as ClearAllFiltersButton,aA as ContactToolbarFilter,ao as EditorToolbarIndicators,aB as EventDatesToolbarFilter,E as EventDetail,aG as EventEditor,aH as EventEditorContextProvider,aI as EventEditorPanel,aK as EventEditorToolbarRecurringControls,aJ as EventEditorToolbarStateActions,af as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ac as FilterSearch,av as GroupNotificationsSettings,I as ItemLayoutMode,al as ItemResourceTypes,am as KeywordPicker,a8 as KeywordsFilter,a9 as KeywordsToolbarFilter,aC as LogicalOperator,M as ManageChannels,N as NewsDetail,Y as NewsDetailPreview,ah as NewsEditor,ai as NewsEditorContextProvider,F as NewsEditorDashboard,aq as NewsEditorPanel,ap as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,Z as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aM as PageEditor,aL as PageEditorContextProvider,aO as PageEditorPanel,aN as PageEditorToolbarStateActions,aF as PageType,aj as PageViewTrackerSettingsContextProvider,aD as PagesGrid,aE as PagesList,w as PostDetail,au as PostGroupSelector,ax as PostGroupSelectorButton,at as PostGroupsPicker,ar as PostInputBox,as as PostList,t as PostListContextProvider,a6 as PublishingDateFilter,a5 as PublishingDateToolbarFilter,R as ReachContextProvider,an as ReachDialog,ak as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ae as ToolbarEventViewSelector,a0 as ToolbarFilterModal,a1 as ToolbarFilterModalButton,$ as ToolbarFilterPanel,ad as ToolbarFilterSearch,ay as ToolbarFilterToggleButton,J as ToolbarIconButton,X as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,W as ToolbarNewsLanguageSelector,aw as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a2 as VerticalFilterPanel,az as isFilterActive,B 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";
|