@livetiles/reach-plugin-types 0.4.0-preview.11 → 0.4.0-preview.15
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.
- package/lib/index.d.ts +2 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3429,6 +3429,7 @@ declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
|
3429
3429
|
export function useFileAccessTokenApi(): {
|
|
3430
3430
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3431
3431
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3432
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>) => () => Promise<void>;
|
|
3432
3433
|
};
|
|
3433
3434
|
}
|
|
3434
3435
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
@@ -3496,7 +3497,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3497
|
}
|
|
3497
3498
|
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3498
3499
|
import { FC } from 'react';
|
|
3499
|
-
import './IconHeaderButton.scss';
|
|
3500
3500
|
export const IconHeaderButton: FC<{
|
|
3501
3501
|
icon: string;
|
|
3502
3502
|
isActive?: boolean;
|
|
@@ -7435,7 +7435,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7435
7435
|
dateLabelResourceKey?: string;
|
|
7436
7436
|
buttons?: ReactNode;
|
|
7437
7437
|
openTargetInNewWindow?: boolean;
|
|
7438
|
-
onClick?: (event: React.MouseEvent<unknown
|
|
7438
|
+
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7439
7439
|
styleDefinition?: StyleDefinition;
|
|
7440
7440
|
readOnly?: boolean;
|
|
7441
7441
|
className?: string;
|
|
@@ -9207,7 +9207,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9207
9207
|
}
|
|
9208
9208
|
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
9209
|
import { FC } from 'react';
|
|
9210
|
-
import './DateTimePicker.scss';
|
|
9211
9210
|
interface DateTimePickerProps {
|
|
9212
9211
|
date: string;
|
|
9213
9212
|
maxDate?: string;
|