@leanix/components 0.2.240 → 0.2.243
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/core-ui/pipes/linkify/linkify.pipe.mjs +66 -61
- package/esm2020/lib/core-ui/services/resize-observer.service.mjs +51 -2
- package/fesm2015/leanix-components.mjs +112 -62
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +115 -62
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/core-ui/pipes/linkify/linkify.pipe.d.ts +2 -0
- package/lib/core-ui/services/resize-observer.service.d.ts +8 -0
- package/package.json +1 -1
@@ -40,6 +40,8 @@ export declare class LxLinkifyPipe implements PipeTransform {
|
|
40
40
|
*/
|
41
41
|
static readonly NAMED_LINK_REGEX: RegExp;
|
42
42
|
transform(text?: string | null): string | undefined | null;
|
43
|
+
private turnMarkdownStyleLinksIntoAnchorTags;
|
44
|
+
private wrapRawHttpLinksWithAnchorTags;
|
43
45
|
private getAllRegexMatches;
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<LxLinkifyPipe, never>;
|
45
47
|
static ɵpipe: i0.ɵɵPipeDeclaration<LxLinkifyPipe, "lxLinkify">;
|
@@ -21,6 +21,14 @@ export declare class ResizeObserverService {
|
|
21
21
|
observe(element: ResizeableElement, callback: LxResizeObserverCallback, options?: ResizeObserverOptions): void;
|
22
22
|
unobserve(element: HTMLElement): void;
|
23
23
|
private resizeObserverCallback;
|
24
|
+
/**
|
25
|
+
* All browsers we officially support implement the ResizeObserver API.
|
26
|
+
* Still as a curtesy do customers who for some reason have older browsers
|
27
|
+
* we call the callback once with the initial dimensions of the element
|
28
|
+
* and then do not react on resize events afterwards.
|
29
|
+
* This should still make them happier than a "browser not supported" warning.
|
30
|
+
*/
|
31
|
+
private getMockOneTimeResizeEventForUnsupportedBrowsers;
|
24
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
|
25
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
|
26
34
|
}
|