@livetiles/reach-plugin-types 0.4.0-preview.638 → 0.4.0-preview.640

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 +5 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3652,6 +3652,7 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3652
3652
  yRadius: number;
3653
3653
  }) => string;
3654
3654
  export const CardBorderInline: (xRadius: number, yRadius: number) => string;
3655
+ export const enforceRatio: (width: number, height: number) => import("styled-components").FlattenSimpleInterpolation;
3655
3656
  export const InputPlaceholder: (content: string) => string;
3656
3657
  export const LineClamp: (lines: number, fontSize: number, lineHeight: number) => import("styled-components").FlattenSimpleInterpolation;
3657
3658
  export function getImageSize(url: string): Promise<{
@@ -3935,7 +3936,8 @@ declare module "libs/reach/ui/common/src/common/Search" {
3935
3936
  declare module "libs/reach/ui/common/src/common/ShowFilterPanelButton" {
3936
3937
  import { FC } from 'react';
3937
3938
  export const ShowFilterPanelButton: FC<{
3938
- onClick: () => unknown;
3939
+ onShowPanel?: () => void;
3940
+ onToggleSidebar?: () => void;
3939
3941
  }>;
3940
3942
  }
3941
3943
  declare module "libs/reach/ui/common/src/common/EmptyUnreadListMessage" {
@@ -11521,13 +11523,13 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
11521
11523
  }>;
11522
11524
  }
11523
11525
  declare module "libs/reach/feature/content/src/stream/StreamList" {
11524
- import { FC } from 'react';
11526
+ import { FC, ReactNode } from 'react';
11525
11527
  import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11526
11528
  export type StreamQueryResult = {
11527
11529
  items: StreamItem[];
11528
11530
  };
11529
11531
  export const StreamList: FC<{
11530
- onShowFilterPanel: () => unknown;
11532
+ emptySearchResultButton?: ReactNode;
11531
11533
  }>;
11532
11534
  }
11533
11535
  declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
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.638",
7
+ "version": "0.4.0-preview.640",
8
8
  "dependencies": {}
9
9
  }