@leanix/components 0.2.241 → 0.2.244

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.2.241",
3
+ "version": "0.2.244",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {