@livetiles/reach-components-react 0.4.0-preview.480 → 0.4.0-preview.484

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.
@@ -8,3 +8,6 @@ export interface EventsEditorDashboardProps {
8
8
  hidePagination?: boolean;
9
9
  }
10
10
  export declare const EventsEditorDashboard: FC<EventsEditorDashboardProps>;
11
+ export declare const EventDropdown: FC<{
12
+ onSelect: (isPast: boolean) => void;
13
+ }>;
@@ -1,7 +1,7 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ItemResourceTypes, PublishableItem } from '@livetiles/reach/util/common';
2
- import { ItemLoader } from '@livetiles/reach/ui/common';
3
- interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenType = unknown> {
4
- dataLoader: ItemLoader<TItem, TTokenType>;
3
+ import { PublishableItemFilterDefinition } from '@livetiles/reach/feature/content';
4
+ interface LibraryProps<TItem extends PublishableItem = PublishableItem> {
5
5
  pageSize: number;
6
6
  itemResourceType: ItemResourceTypes;
7
7
  onItemClick: (item: TItem) => unknown;
@@ -10,7 +10,9 @@ interface LibraryProps<TItem extends PublishableItem = PublishableItem, TTokenTy
10
10
  hidePagination?: boolean;
11
11
  emptyMessageResources: string[];
12
12
  emptyListIcon: string;
13
+ additionalFilterComponents?: ReactNode;
14
+ additionalFilters?: PublishableItemFilterDefinition;
13
15
  className?: string;
14
16
  }
15
- export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem, TTokenType = unknown>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListIcon, className, }: LibraryProps<TItem, TTokenType>) => JSX.Element;
17
+ export declare const PublishableItemEditorDashboard: <TItem extends PublishableItem>({ initialGroupId, itemResourceType, onItemClick, onRenderContent, pageSize, hidePagination, emptyMessageResources, emptyListIcon, additionalFilterComponents, additionalFilters: incomingFilters, className, }: LibraryProps<TItem>) => JSX.Element;
16
18
  export {};
@@ -1,6 +1,16 @@
1
1
  import { FC } from 'react';
2
+ import { IDropdownOption } from 'office-ui-fabric-react';
2
3
  export declare const GroupsDropdown: FC<{
3
4
  onGroupSelect: (groupId?: string) => void;
4
5
  initialGroupId?: string;
5
6
  className?: string;
6
7
  }>;
8
+ export declare const EditorDashboardDropdown: FC<{
9
+ icon: string;
10
+ options: IDropdownOption[];
11
+ onSelect: (optionId?: string) => void;
12
+ selectedKey?: string;
13
+ initialSelectedKey?: string;
14
+ ariaLabel?: string;
15
+ className?: string;
16
+ }>;