@livetiles/reach-components-react 0.5.0-preview.1347 → 0.5.0-preview.1350
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/NewsHero.d.ts +5 -6
- package/PostListContextProvider.d.ts +11 -12
- package/common/hero/Hero.d.ts +8 -9
- package/common/hero/HeroSlide.d.ts +2 -5
- package/en.async.esm2.esm.js +1 -1
- package/index.d.ts +6 -19
- package/index.esm.js +1 -1
- package/index.esm2.js +48 -48
- package/index.umd.js +102 -102
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -506,19 +506,6 @@ interface BaseItem {
|
|
|
506
506
|
id?: string;
|
|
507
507
|
statistics?: ItemStatistics;
|
|
508
508
|
poll?: Poll;
|
|
509
|
-
searchHighlights?: SearchHighlightSummary;
|
|
510
|
-
}
|
|
511
|
-
interface SearchHighlightSummary {
|
|
512
|
-
title: SearchHighlight[];
|
|
513
|
-
content: SearchHighlight[];
|
|
514
|
-
}
|
|
515
|
-
interface SearchHighlight {
|
|
516
|
-
language: string;
|
|
517
|
-
texts: {
|
|
518
|
-
value: string;
|
|
519
|
-
type: 'text' | 'hit';
|
|
520
|
-
}[];
|
|
521
|
-
score: number;
|
|
522
509
|
}
|
|
523
510
|
interface Poll {
|
|
524
511
|
questions: PollQuestion[];
|
|
@@ -555,6 +542,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
555
542
|
headline?: string;
|
|
556
543
|
intro?: string;
|
|
557
544
|
body?: string;
|
|
545
|
+
bodyRaw?: string;
|
|
558
546
|
customProperties?: {
|
|
559
547
|
[key: string]: any;
|
|
560
548
|
};
|
|
@@ -1375,19 +1363,18 @@ interface NewsHeroFilterProps {
|
|
|
1375
1363
|
pageSize?: number;
|
|
1376
1364
|
}
|
|
1377
1365
|
interface NewsHeroProps {
|
|
1378
|
-
autoplayInterval?: number;
|
|
1379
|
-
disableAutoplay?: boolean;
|
|
1380
1366
|
filter?: NewsHeroFilterProps;
|
|
1367
|
+
disableAutoplay?: boolean;
|
|
1368
|
+
autoplayInterval?: number;
|
|
1369
|
+
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1370
|
+
width?: number | string;
|
|
1381
1371
|
height?: number | string;
|
|
1382
1372
|
includeAllItems?: boolean;
|
|
1383
|
-
isHighContrast?: boolean;
|
|
1384
1373
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1385
|
-
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1386
1374
|
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1375
|
+
showKeywords?: boolean;
|
|
1387
1376
|
onViewAllButtonClick?: (e: MouseEvent<unknown>) => void;
|
|
1388
1377
|
pagingType?: HeroPagingType;
|
|
1389
|
-
showKeywords?: boolean;
|
|
1390
|
-
width?: number | string;
|
|
1391
1378
|
}
|
|
1392
1379
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1393
1380
|
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b3 as AuthorFilter,b2 as AuthorToolbarFilter,au as Avatar,aX as ChannelFilter,b8 as ChannelSelector,aY as ChannelToolbarFilter,a$ as ClearAllFiltersButton,bs as ContactToolbarFilter,
|
|
1
|
+
export{b3 as AuthorFilter,b2 as AuthorToolbarFilter,au as Avatar,aX as ChannelFilter,b8 as ChannelSelector,aY as ChannelToolbarFilter,a$ as ClearAllFiltersButton,bs as ContactToolbarFilter,bi as EditorToolbarIndicators,bI as ErrorType,bH as ErrorWrapper,bt as EventDatesToolbarFilter,aj as EventDetail,aP as EventDetailPreview,by as EventEditor,bz as EventEditorContextProvider,bA as EventEditorPanel,bC as EventEditorToolbarRecurringControls,bB as EventEditorToolbarStateActions,aI as EventItemContextProvider,aS as EventItemPreviewContextProvider,b7 as EventView,ax as EventsEditorDashboard,ao as EventsGrid,ap as EventsList,b4 as FilterSearch,bn as GroupNotificationsSettings,bN as HeroPagingType,am as ItemLayoutMode,bd as ItemResourceTypes,bg as KeywordPicker,b0 as KeywordsFilter,b1 as KeywordsToolbarFilter,bu as LogicalOperator,aq as ManageChannels,ah as NewsDetail,aN as NewsDetailPreview,b9 as NewsEditor,ba as NewsEditorContextProvider,aw as NewsEditorDashboard,bf as NewsEditorPanel,be as NewsEditorToolbarStateActions,an as NewsGrid,av as NewsHero,aG as NewsItemContextProvider,aQ as NewsItemPreviewContextProvider,al as NewsList,ai as PageDetail,aO as PageDetailPreview,bE as PageEditor,bD as PageEditorContextProvider,bG as PageEditorPanel,bF as PageEditorToolbarStateActions,aH as PageItemContextProvider,aR as PageItemPreviewContextProvider,bx as PageType,bb as PageViewTrackerSettingsContextProvider,bv as PagesGrid,bw as PagesList,ak as PostDetail,bm as PostGroupSelector,bp as PostGroupSelectorButton,bl as PostGroupsPicker,bj as PostInputBox,bk as PostList,ag as PostListContextProvider,a_ as PublishingDateFilter,aZ as PublishingDateToolbarFilter,af as ReachContextProvider,bh as ReachDialog,bc as TargetLinkOverrideContextProvider,ay as Toolbar,aB as ToolbarBookmarkButton,aC as ToolbarChannelSelector,aF as ToolbarCloseButton,b6 as ToolbarEventViewSelector,aU as ToolbarFilterModal,aV as ToolbarFilterModalButton,aT as ToolbarFilterPanel,b5 as ToolbarFilterSearch,bq as ToolbarFilterToggleButton,az as ToolbarIconButton,aJ as ToolbarLanguageSelector,aK as ToolbarManageButton,aM as ToolbarManageItemButton,aL as ToolbarManageNewsItemButton,aD as ToolbarMarkAllEventsAsReadButton,aE as ToolbarMarkAllNewsAsReadButton,aJ as ToolbarNewsLanguageSelector,bo as ToolbarPostNotificationButton,aA as ToolbarUnreadItemsButton,at as UserDetails,aW as VerticalFilterPanel,br as isFilterActive,ar as useCurrentUser,bL as useEventsStreamDataLoader,as as useLazySubscriptionContext,bM as useNewsStreamDataLoader,bJ as usePagesStreamDataLoader,bK as usePostsStreamDataLoader}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
|