@livetiles/reach-components-react 0.4.0-preview.810 → 0.4.0-preview.814

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.
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- export interface GroupNotificationsSettingsProps {
3
- className?: string;
4
- }
5
- export declare const GroupNotificationsSettings: FC<GroupNotificationsSettingsProps>;
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- export interface PostGroupSelectorProps {
3
- className?: string;
4
- }
5
- export declare const PostGroupSelector: FC<PostGroupSelectorProps>;
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- export interface PostGroupsPickerProps {
3
- className?: string;
4
- }
5
- export declare const PostGroupsPicker: FC<PostGroupsPickerProps>;
package/PostInputBox.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { Post } from '@livetiles/reach/feature/content';
2
- import { FC } from 'react';
3
- export interface PostInputBoxProps {
4
- onBeforeSave?: (post: Post) => void;
5
- onAfterSave?: (post: Post) => void;
6
- disableDragAndDrop?: boolean;
7
- disableAutoFocus?: boolean;
8
- className?: string;
9
- }
10
- export declare const PostInputBox: FC<PostInputBoxProps>;
package/PostList.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { PostFilterDefinition } from '@livetiles/reach/feature/content';
3
- export interface PostListProps {
4
- setFilter?: (_: (filter: PostFilterDefinition) => unknown) => unknown;
5
- className?: string;
6
- }
7
- export declare const PostList: FC<PostListProps>;
@@ -1,28 +0,0 @@
1
- import { FC } from 'react';
2
- import { Post, PostStreamFilterDefinition, PostStreamItem } from '@livetiles/reach/feature/content';
3
- import { UserGroup } from '@livetiles/reach/util/common';
4
- export interface PostListContextProviderProps {
5
- pageSize?: number;
6
- groupId?: string;
7
- filter?: PostStreamFilterDefinition;
8
- searchText?: string;
9
- }
10
- export declare const PostListContextProvider: FC<PostListContextProviderProps>;
11
- export declare function usePostListContext(): {
12
- group?: UserGroup;
13
- onGroupSelected: (groupId: string) => void;
14
- posts: Post[];
15
- onBeforePostCreated: (newPost: PostStreamItem) => unknown;
16
- onAfterPostCreated: (newPost: PostStreamItem) => unknown;
17
- onBeforePostDeleted: (id: string) => unknown;
18
- onAfterPostDeleted: () => unknown;
19
- getNextPage: () => unknown;
20
- getPrevPage: () => unknown;
21
- getFirstPage: () => unknown;
22
- isLoadingNextPage: boolean;
23
- isInitialLoading: boolean;
24
- isFirstPage: boolean;
25
- isLastPage: boolean;
26
- isEmpty: boolean;
27
- error?: any;
28
- };
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const ToolbarFilterToggleButton: FC<{
3
- filter?: any;
4
- onClick?: () => void;
5
- }>;
6
- export declare function isFilterActive(filter: any): boolean;
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { EventFilterDefinition } from '@livetiles/reach/feature/content';
3
- import { ToolbarMarkAllItemsAsReadButtonProps as ToolbarMarkAllItemsAsReadButtonBaseProps } from '@livetiles/reach/ui/common';
4
- export interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonBaseProps {
5
- filter?: EventFilterDefinition;
6
- searchText?: string;
7
- }
8
- export declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { ToolbarMarkAllItemsAsReadButtonProps as ToolbarMarkAllItemsAsReadButtonBaseProps } from '@livetiles/reach/ui/common';
3
- import { LibNewsFilterDefinition } from './common/filter/LibNewsFilterDefinition';
4
- export interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonBaseProps {
5
- filter?: LibNewsFilterDefinition;
6
- searchText?: string;
7
- }
8
- export declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const PostGroupSelectorButton: FC;
@@ -1,2 +0,0 @@
1
- import { FC } from 'react';
2
- export declare const ToolbarPostNotificationButton: FC;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function useToolbarFilterScroll(): {
3
- handleScroll: (direction: 'left' | 'right') => void;
4
- scrollButtonsState: {
5
- show: boolean;
6
- disableLeft?: boolean;
7
- disableRight?: boolean;
8
- };
9
- setContainerDiv: import("react").Dispatch<import("react").SetStateAction<HTMLDivElement>>;
10
- };