@livetiles/reach-plugin-types 0.4.115 → 0.4.117
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 +12 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -821,6 +821,12 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us
|
|
|
821
821
|
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
822
822
|
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
823
823
|
}
|
|
824
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
825
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
826
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
827
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
828
|
+
export default da;
|
|
829
|
+
}
|
|
824
830
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
825
831
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
826
832
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -876,7 +882,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
876
882
|
export default en;
|
|
877
883
|
}
|
|
878
884
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
879
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/
|
|
885
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
880
886
|
}
|
|
881
887
|
declare module "libs/reach/util/common/src/resources/ResourceContextProvider" {
|
|
882
888
|
import { FC } from 'react';
|
|
@@ -7263,6 +7269,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
7263
7269
|
constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
|
|
7264
7270
|
hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
|
|
7265
7271
|
isValid(features: FeatureSet): boolean;
|
|
7272
|
+
isSharepointUrl(url: string): boolean;
|
|
7266
7273
|
}
|
|
7267
7274
|
export function getVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
7268
7275
|
export function getAllVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
@@ -7469,7 +7476,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
7469
7476
|
private getVideoElement;
|
|
7470
7477
|
private getNotSupportedElement;
|
|
7471
7478
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: TVideoProperties): HTMLElement;
|
|
7472
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "
|
|
7479
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Kaltura" | "Microsoft Stream" | "Generic";
|
|
7473
7480
|
}
|
|
7474
7481
|
}
|
|
7475
7482
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -8180,6 +8187,9 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8180
8187
|
highlight?: boolean;
|
|
8181
8188
|
showBanner?: boolean;
|
|
8182
8189
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
8190
|
+
showDateOnBottom?: boolean;
|
|
8191
|
+
showDateAsRelative?: boolean;
|
|
8192
|
+
contentGap?: number;
|
|
8183
8193
|
className?: string;
|
|
8184
8194
|
}
|
|
8185
8195
|
export const NewsItemTile: FC<Props>;
|