@livetiles/reach-components-react 0.4.0-preview.751 → 0.4.0-preview.752
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/en.async.esm.esm.js +1 -1
- package/index.d.ts +1 -142
- package/index.esm.js +1 -1
- package/index.esm2.js +7 -7
- package/index.umd.js +8 -8
- package/package.json +1 -1
- package/GroupNotificationsSettings.d.ts +0 -5
- package/PostGroupSelector.d.ts +0 -5
- package/PostGroupsPicker.d.ts +0 -5
- package/PostInputBox.d.ts +0 -10
- package/PostList.d.ts +0 -5
- package/PostListContextProvider.d.ts +0 -26
- package/ToolbarFilterToggleButton.d.ts +0 -6
- package/ToolbarPostGroupSelectorButton.d.ts +0 -2
- package/ToolbarPostNotificationButton.d.ts +0 -2
package/index.d.ts
CHANGED
|
@@ -51,14 +51,6 @@ interface PostDetailProps {
|
|
|
51
51
|
}
|
|
52
52
|
declare const PostDetail: FC<PostDetailProps>;
|
|
53
53
|
|
|
54
|
-
interface PaginatedList<TItem> {
|
|
55
|
-
items: TItem[];
|
|
56
|
-
paginationToken?: any;
|
|
57
|
-
nextItem?: TItem;
|
|
58
|
-
hasMoreUnreadComments?: boolean;
|
|
59
|
-
hasNextPage?: boolean;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
54
|
declare enum AuthenticationType {
|
|
63
55
|
unknown = 0,
|
|
64
56
|
azuread = 1,
|
|
@@ -557,63 +549,6 @@ interface ChoiceTranslations {
|
|
|
557
549
|
|
|
558
550
|
declare function useCurrentUser(): CurrentUser;
|
|
559
551
|
|
|
560
|
-
declare enum AttachmentType {
|
|
561
|
-
Image = 0,
|
|
562
|
-
File = 1,
|
|
563
|
-
YouTubeVideo = 2,
|
|
564
|
-
VimeoVideo = 3,
|
|
565
|
-
News = 4,
|
|
566
|
-
Event = 5,
|
|
567
|
-
Page = 6,
|
|
568
|
-
Post = 7,
|
|
569
|
-
Giphy = 8
|
|
570
|
-
}
|
|
571
|
-
interface BaseAttachment {
|
|
572
|
-
id: string;
|
|
573
|
-
filename?: string;
|
|
574
|
-
previewUrl?: string;
|
|
575
|
-
url?: string;
|
|
576
|
-
isUploadInProgress?: boolean;
|
|
577
|
-
hasError?: boolean;
|
|
578
|
-
width?: number;
|
|
579
|
-
height?: number;
|
|
580
|
-
}
|
|
581
|
-
interface Attachment extends BaseAttachment {
|
|
582
|
-
type: AttachmentType;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
interface ItemWithAttachments {
|
|
586
|
-
attachments?: Attachment[];
|
|
587
|
-
fileAccessToken?: string;
|
|
588
|
-
attachmentContainerId?: string;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
interface Comment extends ItemWithAttachments {
|
|
592
|
-
id: string;
|
|
593
|
-
parentItemId: string;
|
|
594
|
-
content: string;
|
|
595
|
-
contentLanguageCode?: string;
|
|
596
|
-
receivedDateTime: string;
|
|
597
|
-
sender: Account;
|
|
598
|
-
conversationScope: ConversationScope;
|
|
599
|
-
modified?: string;
|
|
600
|
-
statistics?: CommentStatistics;
|
|
601
|
-
isLiked?: boolean;
|
|
602
|
-
threadId?: string;
|
|
603
|
-
isUnread?: boolean;
|
|
604
|
-
hasUnreadReplies?: boolean;
|
|
605
|
-
isDemoContent?: boolean;
|
|
606
|
-
}
|
|
607
|
-
interface CommentStatistics {
|
|
608
|
-
likeCount?: number;
|
|
609
|
-
replyCount?: number;
|
|
610
|
-
}
|
|
611
|
-
declare enum ConversationScope {
|
|
612
|
-
Public = 0,
|
|
613
|
-
Editor = 1,
|
|
614
|
-
Posts = 2
|
|
615
|
-
}
|
|
616
|
-
|
|
617
552
|
declare enum ItemResourceTypes {
|
|
618
553
|
News = "news",
|
|
619
554
|
Pages = "pages",
|
|
@@ -915,35 +850,6 @@ interface KeywordPickerProps {
|
|
|
915
850
|
}
|
|
916
851
|
declare const ScrollableKeywordPicker: styled_components.StyledComponent<FC<KeywordPickerProps>, styled_components.DefaultTheme, {}, never>;
|
|
917
852
|
|
|
918
|
-
interface Post extends BaseItem, ItemWithAttachments {
|
|
919
|
-
id: string;
|
|
920
|
-
comments?: PaginatedList<Comment>;
|
|
921
|
-
groupId: string;
|
|
922
|
-
content: string;
|
|
923
|
-
permalink?: string;
|
|
924
|
-
author: Account;
|
|
925
|
-
publishingDate: string;
|
|
926
|
-
modified?: string;
|
|
927
|
-
statistics: ItemStatistics;
|
|
928
|
-
keywords?: {
|
|
929
|
-
[key: string]: Keyword[];
|
|
930
|
-
};
|
|
931
|
-
contentLanguageCode?: string;
|
|
932
|
-
isLiked?: boolean;
|
|
933
|
-
isUnread?: boolean;
|
|
934
|
-
isDemoContent?: boolean;
|
|
935
|
-
isFollowing?: boolean;
|
|
936
|
-
}
|
|
937
|
-
interface PostFilterDefinition {
|
|
938
|
-
token?: string;
|
|
939
|
-
pageSize?: string;
|
|
940
|
-
search?: string;
|
|
941
|
-
keywords?: FilterWithLogicalOperator;
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
945
|
-
}
|
|
946
|
-
|
|
947
853
|
interface LibNewsFilterDefinition extends Omit<NewsFilterDefinition, 'channels' | 'keywords'> {
|
|
948
854
|
channels?: string | FilterWithLogicalOperator;
|
|
949
855
|
keywords?: string | FilterWithLogicalOperator;
|
|
@@ -1166,51 +1072,4 @@ declare const NewsEditorPanel: FC<{
|
|
|
1166
1072
|
className?: string;
|
|
1167
1073
|
}>;
|
|
1168
1074
|
|
|
1169
|
-
|
|
1170
|
-
onBeforeSave?: (post: Post) => void;
|
|
1171
|
-
onAfterSave?: (post: Post) => void;
|
|
1172
|
-
disableDragAndDrop?: boolean;
|
|
1173
|
-
disableAutoFocus?: boolean;
|
|
1174
|
-
className?: string;
|
|
1175
|
-
}
|
|
1176
|
-
declare const PostInputBox: FC<PostInputBoxProps>;
|
|
1177
|
-
|
|
1178
|
-
interface PostListContextProviderProps {
|
|
1179
|
-
pageSize?: number;
|
|
1180
|
-
groupId?: string;
|
|
1181
|
-
filter?: PostStreamFilterDefinition;
|
|
1182
|
-
searchText?: string;
|
|
1183
|
-
}
|
|
1184
|
-
declare const PostListContextProvider: FC<PostListContextProviderProps>;
|
|
1185
|
-
|
|
1186
|
-
interface PostListProps {
|
|
1187
|
-
className?: string;
|
|
1188
|
-
}
|
|
1189
|
-
declare const PostList: FC<PostListProps>;
|
|
1190
|
-
|
|
1191
|
-
interface PostGroupsPickerProps {
|
|
1192
|
-
className?: string;
|
|
1193
|
-
}
|
|
1194
|
-
declare const PostGroupsPicker: FC<PostGroupsPickerProps>;
|
|
1195
|
-
|
|
1196
|
-
interface PostGroupSelectorProps {
|
|
1197
|
-
className?: string;
|
|
1198
|
-
}
|
|
1199
|
-
declare const PostGroupSelector: FC<PostGroupSelectorProps>;
|
|
1200
|
-
|
|
1201
|
-
interface GroupNotificationsSettingsProps {
|
|
1202
|
-
className?: string;
|
|
1203
|
-
}
|
|
1204
|
-
declare const GroupNotificationsSettings: FC<GroupNotificationsSettingsProps>;
|
|
1205
|
-
|
|
1206
|
-
declare const ToolbarPostNotificationButton: FC;
|
|
1207
|
-
|
|
1208
|
-
declare const PostGroupSelectorButton: FC;
|
|
1209
|
-
|
|
1210
|
-
declare const ToolbarFilterToggleButton: FC<{
|
|
1211
|
-
filter?: any;
|
|
1212
|
-
onClick?: () => void;
|
|
1213
|
-
}>;
|
|
1214
|
-
declare function isFilterActive(filter: any): boolean;
|
|
1215
|
-
|
|
1216
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, 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, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
|
1075
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PostDetail, PostDetailProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{$ as AuthorFilter,Z as AuthorToolbarFilter,A as Avatar,L as ChannelFilter,a4 as ChannelSelector,O as ChannelToolbarFilter,W as ClearAllFiltersButton,aa as EditorToolbarIndicators,E as EventDetail,a3 as EventView,r as EventsEditorDashboard,l as EventsGrid,n as EventsList,a0 as FilterSearch,I as ItemLayoutMode,a9 as ItemResourceTypes,ad as KeywordPicker,X as KeywordsFilter,Y as KeywordsToolbarFilter,M as ManageChannels,N as NewsDetail,F as NewsDetailPreview,a5 as NewsEditor,a6 as NewsEditorContextProvider,q as NewsEditorDashboard,ac as NewsEditorPanel,ab as NewsEditorToolbarStateActions,k as NewsGrid,p as NewsHero,B as NewsItemContextProvider,G as NewsItemPreviewContextProvider,j as NewsList,h as PageDetail,a7 as PageViewTrackerSettingsContextProvider,i as PostDetail,S as PublishingDateFilter,Q as PublishingDateToolbarFilter,R as ReachContextProvider,ae as ReachDialog,a8 as TargetLinkOverrideContextProvider,s as Toolbar,w as ToolbarChannelSelector,z as ToolbarCloseButton,a2 as ToolbarEventViewSelector,J as ToolbarFilterModal,K as ToolbarFilterModalButton,H as ToolbarFilterPanel,a1 as ToolbarFilterSearch,t as ToolbarIconButton,D as ToolbarManageNewsItemButton,x as ToolbarMarkAllEventsAsReadButton,y as ToolbarMarkAllNewsAsReadButton,C as ToolbarNewsLanguageSelector,v as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,o 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";
|