@livetiles/reach-plugin-types 0.4.0-preview.487 → 0.4.0-preview.490

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +20 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -4471,6 +4471,24 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarCloseButton" {
4471
4471
  }
4472
4472
  export const ToolbarCloseButton: FC<ToolbarCloseButtonProps>;
4473
4473
  }
4474
+ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarEventViewSelector" {
4475
+ import { FC } from 'react';
4476
+ export enum EventView {
4477
+ UpcomingEvents = "upcoming",
4478
+ MyBookedEvents = "booked",
4479
+ PastEvents = "past"
4480
+ }
4481
+ export interface ToolbarEventViewSelectorProps {
4482
+ value?: EventView;
4483
+ onChange?: (view: EventView) => void;
4484
+ viewOptions?: {
4485
+ hideUpcomingEventsView?: boolean;
4486
+ hideMyBookedEventsView?: boolean;
4487
+ hidePastEventsView?: boolean;
4488
+ };
4489
+ }
4490
+ export const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
4491
+ }
4474
4492
  declare module "libs/reach/ui/common/src/common/useAttachmentsApi" {
4475
4493
  import { ChatMessage } from "libs/reach/util/common/src/index";
4476
4494
  import { ItemWithAttachments } from "libs/reach/util/common/src/index";
@@ -4694,6 +4712,7 @@ declare module "libs/reach/ui/common/src/common/index" {
4694
4712
  export * from "libs/reach/ui/common/src/common/toolbar/ToolbarUnreadItemsButton";
4695
4713
  export * from "libs/reach/ui/common/src/common/toolbar/ToolbarManageButton";
4696
4714
  export * from "libs/reach/ui/common/src/common/toolbar/ToolbarCloseButton";
4715
+ export * from "libs/reach/ui/common/src/common/toolbar/ToolbarEventViewSelector";
4697
4716
  export * from "libs/reach/ui/common/src/common/useAttachmentsApi";
4698
4717
  export * from "libs/reach/ui/common/src/common/useFileAccessTokenApi";
4699
4718
  export * from "libs/reach/ui/common/src/common/useLanguageApi";
@@ -11451,8 +11470,8 @@ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
11451
11470
  }
11452
11471
  declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
11453
11472
  import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11454
- import { EventFilterDefinition } from "libs/reach/feature/content/src/index";
11455
11473
  import { ItemLoader } from "libs/reach/ui/common/src/index";
11474
+ import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
11456
11475
  export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
11457
11476
  export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
11458
11477
  }
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.487",
7
+ "version": "0.4.0-preview.490",
8
8
  "dependencies": {}
9
9
  }