@eui/core 18.0.0-rc.35 → 18.0.0-rc.37

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.
@@ -1,20 +1,26 @@
1
1
  export declare abstract class CssUtils {
2
- static readonly getCssVarValue: (inputProperty: string, document: Document) => string;
2
+ /**
3
+ * Get the value of a CSS variable. Using getComputedStyle to get the value of the CSS variable (Browser Specific API)
4
+ * @param inputProperty
5
+ * @param document
6
+ * @param platform
7
+ */
8
+ static readonly getCssVarValue: (inputProperty: string, document: Document, platform: unknown) => string;
3
9
  static readonly setCssVarValue: (propertyName: string, propertyValue: string, document: Document) => void;
4
- static readonly setCssVar: (inputProperty: string, outputProperty: string, document: Document) => void;
5
- static readonly initCssVars: (document: Document) => void;
6
- static readonly getBreakpointValues: (document: Document) => any;
10
+ static readonly setCssVar: (inputProperty: string, outputProperty: string, document: Document, platform: unknown) => void;
11
+ static readonly initCssVars: (document: Document, platform: unknown) => void;
12
+ static readonly getBreakpointValues: (document: Document, platform: unknown) => any;
7
13
  static readonly activateEditModeCssVars: (isActive: boolean, document: Document) => void;
8
- static readonly activateHeaderCssVars: (document: Document) => void;
9
- static readonly activateBreadcrumbCssVars: (document: Document) => void;
14
+ static readonly activateHeaderCssVars: (document: Document, platform: unknown) => void;
15
+ static readonly activateBreadcrumbCssVars: (document: Document, platform: unknown) => void;
10
16
  static readonly activateTopMessageCssVars: (height: number, document: Document) => void;
11
- static readonly activateToolbarCssVars: (document: Document) => void;
12
- static readonly activateFooterCssVars: (document: Document) => void;
13
- static readonly setHeaderShrinkCssVar: (active: boolean, document: Document) => void;
14
- static readonly activateSidebarCssVars: (document: Document) => void;
17
+ static readonly activateToolbarCssVars: (document: Document, platform: unknown) => void;
18
+ static readonly activateFooterCssVars: (document: Document, platform: unknown) => void;
19
+ static readonly setHeaderShrinkCssVar: (active: boolean, document: Document, platform: unknown) => void;
20
+ static readonly activateSidebarCssVars: (document: Document, platform: unknown) => void;
15
21
  static readonly removeSidebarCssVars: (document: Document) => void;
16
- static readonly activateSidebarHeaderCssVars: (document: Document) => void;
17
- static readonly activateSidebarFooterCssVars: (document: Document) => void;
22
+ static readonly activateSidebarHeaderCssVars: (document: Document, platform: unknown) => void;
23
+ static readonly activateSidebarFooterCssVars: (document: Document, platform: unknown) => void;
18
24
  /**
19
25
  * Gets the viewport height and width and multiply it by 1% to get a value for a vh/vw unit
20
26
  * Sets the value in the --eui-app-vh custom property to the root of the document
@@ -1 +1 @@
1
- {"version":3,"file":"css-utils.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/css-utils.ts"],"names":[],"mappings":"AAEA,8BAAsB,QAAQ;IAC1B,gBAAuB,cAAc,kBAAmB,MAAM,YAAY,QAAQ,KAAG,MAAM,CAE1F;IAED,gBAAuB,cAAc,iBAAkB,MAAM,iBAAiB,MAAM,YAAY,QAAQ,KAAG,IAAI,CAE9G;IAED,gBAAuB,SAAS,kBAAmB,MAAM,kBAAkB,MAAM,YAAY,QAAQ,KAAG,IAAI,CAG3G;IAED,gBAAuB,WAAW,aAAc,QAAQ,KAAG,IAAI,CAS9D;IAGD,gBAAuB,mBAAmB,aAAc,QAAQ,KAAG,GAAG,CAuBrE;IAED,gBAAuB,uBAAuB,aAAc,OAAO,YAAY,QAAQ,KAAG,IAAI,CAU7F;IAED,gBAAuB,qBAAqB,aAAc,QAAQ,KAAG,IAAI,CAExE;IACD,gBAAuB,yBAAyB,aAAc,QAAQ,KAAG,IAAI,CAE5E;IAED,gBAAuB,yBAAyB,WAAY,MAAM,YAAY,QAAQ,KAAG,IAAI,CAE5F;IAED,gBAAuB,sBAAsB,aAAc,QAAQ,KAAG,IAAI,CAEzE;IAED,gBAAuB,qBAAqB,aAAc,QAAQ,KAAG,IAAI,CAExE;IAED,gBAAuB,qBAAqB,WAAY,OAAO,YAAY,QAAQ,KAAG,IAAI,CAMzF;IAED,gBAAuB,sBAAsB,aAAc,QAAQ,KAAG,IAAI,CAGzE;IAED,gBAAuB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aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAG5F;IAED,gBAAuB,oBAAoB,aAAc,QAAQ,KAAG,IAAI,CAKvE;IAED,gBAAuB,4BAA4B,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAElG;IAED,gBAAuB,4BAA4B,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAElG;IAED;;;;;;;OAOG;WACW,qBAAqB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;CAQ/D"}
@@ -25,7 +25,7 @@ export declare const offset: (nativeEl: HTMLElement) => {
25
25
  * @param nativeEl
26
26
  */
27
27
  export declare const parentOffsetEl: (nativeEl: HTMLElement) => Element | Document;
28
- export declare const getViewElement: <F>(fixture: ComponentFixture<F>, componentClass: any, klass?: any) => {
28
+ export declare const getViewElement: <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string) => {
29
29
  de: DebugElement;
30
30
  el: HTMLElement;
31
31
  domElement: HTMLElement;
@@ -1 +1 @@
1
- {"version":3,"file":"dom-helpers.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/dom-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,QAAQ,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAiB1G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,MAAM,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAQxG,CAAC;AA0BF;;;GAGG;AACH,eAAO,MAAM,cAAc,aAAc,WAA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1,6 @@
1
1
  {
2
2
  "name": "@eui/core",
3
- "version": "18.0.0-rc.35",
3
+ "version": "18.0.0-rc.37",
4
4
  "tag": "next",
5
5
  "description": "eUI core package - holding UI components for Desktop applications",
6
6
  "homepage": "https://eui.ecdevops.eu",
@@ -10,7 +10,7 @@
10
10
  "url": "https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui"
11
11
  },
12
12
  "peerDependencies": {
13
- "@eui/base": "18.0.0-rc.35",
13
+ "@eui/base": "18.0.0-rc.37",
14
14
  "rxjs": "^7.8.0",
15
15
  "extend": "^3.0.2",
16
16
  "localforage": "^1.10.0",