@livetiles/reach-plugin-types 0.4.0-preview.3 → 0.4.0-preview.30

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 +8 -14
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2807,6 +2807,10 @@ declare module "libs/reach/util/common/src/Variables" {
2807
2807
  ready: string;
2808
2808
  rejected: string;
2809
2809
  };
2810
+ export const cardWidthS = 260;
2811
+ export const cardWidthM = 354;
2812
+ export const cardWidthL = 314;
2813
+ export const cardWidthXL = 423;
2810
2814
  }
2811
2815
  declare module "libs/reach/util/common/src/notification/NotificationContext" {
2812
2816
  import { FC, ReactNode } from 'react';
@@ -3127,7 +3131,6 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
3127
3131
  import { FC } from 'react';
3128
3132
  import { SelectionMode } from 'office-ui-fabric-react';
3129
3133
  import { Account, AccountType } from "libs/reach/util/common/src/index";
3130
- import './PeoplePicker.scss';
3131
3134
  interface Props {
3132
3135
  defaultSelectedItems?: Account[];
3133
3136
  localOnly?: boolean;
@@ -3182,7 +3185,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
3182
3185
  }
3183
3186
  declare module "libs/reach/ui/common/src/NotificationBar" {
3184
3187
  import { FC } from 'react';
3185
- import './Notification.scss';
3186
3188
  import 'react-toastify/dist/ReactToastify.min.css';
3187
3189
  export const NotificationBar: FC;
3188
3190
  }
@@ -3430,6 +3432,7 @@ declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
3430
3432
  export function useFileAccessTokenApi(): {
3431
3433
  exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
3432
3434
  getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
3435
+ createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
3433
3436
  };
3434
3437
  }
3435
3438
  declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
@@ -3497,7 +3500,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
3497
3500
  }
3498
3501
  declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
3499
3502
  import { FC } from 'react';
3500
- import './IconHeaderButton.scss';
3501
3503
  export const IconHeaderButton: FC<{
3502
3504
  icon: string;
3503
3505
  isActive?: boolean;
@@ -4119,7 +4121,6 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
4119
4121
  }
4120
4122
  declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
4121
4123
  import { FC, ReactNode } from 'react';
4122
- import './PullToRefresh.scss';
4123
4124
  export const PullToRefreshContext: import("react").Context<{
4124
4125
  refreshToken: string;
4125
4126
  setEnabled: (enabled: boolean) => unknown;
@@ -7437,7 +7438,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7437
7438
  dateLabelResourceKey?: string;
7438
7439
  buttons?: ReactNode;
7439
7440
  openTargetInNewWindow?: boolean;
7440
- onClick?: (event: React.MouseEvent<unknown>) => unknown;
7441
+ onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7441
7442
  styleDefinition?: StyleDefinition;
7442
7443
  readOnly?: boolean;
7443
7444
  className?: string;
@@ -8658,7 +8659,6 @@ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8658
8659
  }
8659
8660
  declare module "libs/reach/feature/content/src/common/cards/Card" {
8660
8661
  import { FC, ReactNode } from 'react';
8661
- import './Card.scss';
8662
8662
  import { PublishableItem } from "libs/reach/util/common/src/index";
8663
8663
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8664
8664
  import { CurrentUser } from "libs/reach/util/common/src/index";
@@ -8791,7 +8791,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
8791
8791
  }
8792
8792
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
8793
8793
  import { FC } from 'react';
8794
- import './LanguageSelector.scss';
8795
8794
  interface LanguageSelectorProps {
8796
8795
  languages: string[];
8797
8796
  selectedLanguage: string;
@@ -9147,7 +9146,6 @@ declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicke
9147
9146
  declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
9148
9147
  import { FC } from 'react';
9149
9148
  import { Keyword } from "libs/reach/util/common/src/index";
9150
- import './KeywordPicker.scss';
9151
9149
  interface Props {
9152
9150
  value?: Keyword[] | string[];
9153
9151
  onChange: (keywords: Keyword[]) => void;
@@ -9181,7 +9179,6 @@ declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
9181
9179
  }
9182
9180
  declare module "libs/reach/feature/content/src/forms/Textarea" {
9183
9181
  import { FC, MutableRefObject } from 'react';
9184
- import './Textarea.scss';
9185
9182
  export interface TextareaProps {
9186
9183
  rows?: number;
9187
9184
  placeholder?: string;
@@ -9209,7 +9206,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
9209
9206
  }
9210
9207
  declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
9211
9208
  import { FC } from 'react';
9212
- import './DateTimePicker.scss';
9213
9209
  interface DateTimePickerProps {
9214
9210
  date: string;
9215
9211
  maxDate?: string;
@@ -9271,7 +9267,6 @@ declare module "libs/reach/feature/content/src/forms/DateRange" {
9271
9267
  declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
9272
9268
  import { FC } from 'react';
9273
9269
  import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
9274
- import './DateRangeSlider.scss';
9275
9270
  export const DateRangeSlider: FC<{
9276
9271
  value?: DateRange;
9277
9272
  onChange: (range: DateRange) => unknown;
@@ -9358,9 +9353,8 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
9358
9353
  export const NewsCard: FC<NewsCardProps>;
9359
9354
  }
9360
9355
  declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
9361
- import React from 'react';
9362
- import './EmptyChannelsView.scss';
9363
- export const EmptyChannelsView: React.FC;
9356
+ import { FC } from 'react';
9357
+ export const EmptyChannelsView: FC;
9364
9358
  }
9365
9359
  declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
9366
9360
  import { FC } from 'react';
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.3",
7
+ "version": "0.4.0-preview.30",
8
8
  "dependencies": {}
9
9
  }