@livetiles/reach-plugin-types 0.5.0-preview.736 → 0.5.0-preview.738

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 +13 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -4314,7 +4314,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
4314
4314
  showSearchBoxInput?: boolean;
4315
4315
  shouldAutoFocus?: boolean;
4316
4316
  }
4317
- export const SearchBox: FC<SearchBoxProps & {
4317
+ export const LegacySearchBox: FC<SearchBoxProps & {
4318
4318
  onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
4319
4319
  isToolbarMode?: boolean;
4320
4320
  className?: string;
@@ -5614,6 +5614,14 @@ declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
5614
5614
  }
5615
5615
  export const DateTimeDisplay: FC<Props>;
5616
5616
  }
5617
+ declare module "libs/reach/ui/common/src/reach-2/SearchBox" {
5618
+ import { FC } from 'react';
5619
+ export const SearchBox: FC<{
5620
+ searchText: string;
5621
+ onChange: (searchText: string) => void;
5622
+ placeholder?: string;
5623
+ }>;
5624
+ }
5617
5625
  declare module "libs/reach/ui/common/src/reach-2/index" {
5618
5626
  export * from "libs/reach/ui/common/src/reach-2/Icon";
5619
5627
  export * from "libs/reach/ui/common/src/reach-2/icons/index";
@@ -5622,6 +5630,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
5622
5630
  export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
5623
5631
  export * from "libs/reach/ui/common/src/reach-2/progress/index";
5624
5632
  export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
5633
+ export * from "libs/reach/ui/common/src/reach-2/SearchBox";
5625
5634
  }
5626
5635
  declare module "libs/reach/ui/common/src/index" {
5627
5636
  export * from "libs/reach/ui/common/src/LegacyDialog";
@@ -6812,6 +6821,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
6812
6821
  hideInfoMessage?: boolean;
6813
6822
  showNoRegistrationRequired?: boolean;
6814
6823
  onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
6824
+ onRegistrationRedirect?: (url: string) => void;
6815
6825
  className?: string;
6816
6826
  }>;
6817
6827
  }
@@ -6824,6 +6834,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
6824
6834
  showNoRegistrationRequired?: boolean;
6825
6835
  className?: string;
6826
6836
  languageDirection?: LanguageDirection;
6837
+ onRegistrationRedirect?: (url: string) => void;
6827
6838
  }>;
6828
6839
  }
6829
6840
  declare module "libs/reach/feature/content/src/feedback/LongPressLikeButton" {
@@ -8089,6 +8100,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8089
8100
  styleDefinition?: StyleDefinition;
8090
8101
  showBanner?: boolean;
8091
8102
  showBannerAlwaysOnTheLeft?: boolean;
8103
+ onRegistrationRedirect?: (url: string) => void;
8092
8104
  className?: string;
8093
8105
  }
8094
8106
  export const EventItemTile: FC<Props>;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.736",
7
+ "version": "0.5.0-preview.738",
8
8
  "dependencies": {}
9
9
  }