@livetiles/reach-components-react 0.5.0-preview.84 → 0.5.0-preview.86

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/index.d.ts CHANGED
@@ -314,19 +314,9 @@ interface WebPluginDefinition {
314
314
  subscriptionId?: string;
315
315
  environment?: string;
316
316
  }
317
- declare enum ExtensionArea {
318
- global = "Global",
319
- page = "Page",
320
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
321
- eventDetailViewSection = "EventDetailViewSection",
322
- itemEditor = "ItemEditor"
323
- }
324
- declare type InlinePlugin = {
325
- area: ExtensionArea.itemEditor;
326
- objectButton: PluginObjectButton;
327
- };
328
- declare type PagePlugin = {
329
- area: ExtensionArea.page;
317
+ interface PluginExtension {
318
+ area: string;
319
+ componentName: string;
330
320
  route: string;
331
321
  navigationNode?: {
332
322
  componentName?: string;
@@ -336,20 +326,7 @@ declare type PagePlugin = {
336
326
  [key: string]: string;
337
327
  };
338
328
  };
339
- };
340
- declare type PluginExtension = {
341
- area: ExtensionArea;
342
- componentName: string;
343
- } & (InlinePlugin | PagePlugin);
344
- declare type PluginObjectButton = {
345
- buttonLabel: {
346
- defaultLabel: string;
347
- translations?: {
348
- [key: string]: string;
349
- };
350
- };
351
- iconName: string;
352
- };
329
+ }
353
330
  interface PluginNotificationDefinitions {
354
331
  key: string;
355
332
  title: string;
@@ -470,19 +447,6 @@ interface BaseItem {
470
447
  id?: string;
471
448
  statistics?: ItemStatistics;
472
449
  poll?: Poll;
473
- searchHighlights?: SearchHighlightSummary;
474
- }
475
- interface SearchHighlightSummary {
476
- title: SearchHighlight[];
477
- content: SearchHighlight[];
478
- }
479
- interface SearchHighlight {
480
- language: string;
481
- texts: {
482
- value: string;
483
- type: 'text' | 'hit';
484
- }[];
485
- score: number;
486
450
  }
487
451
  interface Poll {
488
452
  questions: PollQuestion[];
@@ -517,6 +481,7 @@ interface PublishableItemContent extends ContentDefinition {
517
481
  headline?: string;
518
482
  intro?: string;
519
483
  body?: string;
484
+ bodyRaw?: string;
520
485
  customProperties?: {
521
486
  [key: string]: any;
522
487
  };
@@ -1389,18 +1354,8 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
1389
1354
  declare const EventEditorToolbarStateActions: FC;
1390
1355
 
1391
1356
  interface EventEditorToolbarRecurringControlsProps {
1392
- onResetModifiedInstance: () => void;
1393
1357
  className?: string;
1394
1358
  }
1395
1359
  declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
1396
1360
 
1397
- interface PageEditorContextProviderProps {
1398
- itemId?: string;
1399
- groupId?: string;
1400
- onSuccessfulCreate?: (itemId: string) => void;
1401
- onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
1402
- onSuccessfulDeletePermanently?: (itemId: number | string) => void;
1403
- }
1404
- declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
1405
-
1406
- 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, 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, PageEditorContextProvider, PageEditorContextProviderProps, 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, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
1361
+ 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, 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, 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, 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{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,aL as PageEditorContextProvider,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";
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,aq 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,ao 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,an as NewsEditorPanel,am as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,Z as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,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,ap 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";