@eui/core 18.0.0-rc.34 → 18.0.0-rc.35
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/docs/classes/CssUtils.html +28 -2
- package/docs/dependencies.html +1 -1
- package/docs/injectables/EuiAppShellService.html +13 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/lib/helpers/css-utils.mjs +62 -59
- package/esm2022/lib/services/eui-app-shell.service.mjs +20 -16
- package/fesm2022/eui-core.mjs +78 -72
- package/fesm2022/eui-core.mjs.map +1 -1
- package/lib/helpers/css-utils.d.ts +18 -18
- package/lib/helpers/css-utils.d.ts.map +1 -1
- package/lib/services/eui-app-shell.service.d.ts +3 -2
- package/lib/services/eui-app-shell.service.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
<tr>
|
|
621
621
|
<td class="col-md-4">
|
|
622
622
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
623
|
-
<code>setAppViewportCssVars()</code>
|
|
623
|
+
<code>setAppViewportCssVars(platform)</code>
|
|
624
624
|
</td>
|
|
625
625
|
</tr>
|
|
626
626
|
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
|
|
630
630
|
<tr>
|
|
631
631
|
<td class="col-md-4">
|
|
632
|
-
<div class="io-description"><p>Gets the viewport height and width and
|
|
632
|
+
<div class="io-description"><p>Gets the viewport height and width and multiply it by 1% to get a value for a vh/vw unit
|
|
633
633
|
Sets the value in the --eui-app-vh custom property to the root of the document
|
|
634
634
|
Sets the value in the --eui-app-vw custom property to the root of the document
|
|
635
635
|
Example for 100% height: calc(var(--eui-app-vh, 1vh) * 100);
|
|
@@ -637,10 +637,36 @@ Example for 50% height: calc(var(--eui-app-vh, 1vh) * 50);
|
|
|
637
637
|
Example for 50% width: calc(var(--eui-app-vw, 1vw) * 50);</p>
|
|
638
638
|
</div>
|
|
639
639
|
|
|
640
|
+
<div class="io-description">
|
|
641
|
+
<b>Parameters :</b>
|
|
642
|
+
|
|
643
|
+
<table class="params">
|
|
644
|
+
<thead>
|
|
645
|
+
<tr>
|
|
646
|
+
<td>Name</td>
|
|
647
|
+
<td>Optional</td>
|
|
648
|
+
</tr>
|
|
649
|
+
</thead>
|
|
650
|
+
<tbody>
|
|
651
|
+
<tr>
|
|
652
|
+
<td>platform</td>
|
|
653
|
+
|
|
654
|
+
<td>
|
|
655
|
+
No
|
|
656
|
+
</td>
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
</tr>
|
|
660
|
+
</tbody>
|
|
661
|
+
</table>
|
|
662
|
+
</div>
|
|
640
663
|
<div class="io-description">
|
|
641
664
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
642
665
|
|
|
643
666
|
</div>
|
|
667
|
+
<div class="io-description">
|
|
668
|
+
|
|
669
|
+
</div>
|
|
644
670
|
</td>
|
|
645
671
|
</tr>
|
|
646
672
|
</tbody>
|
package/docs/dependencies.html
CHANGED
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
<tbody>
|
|
270
270
|
<tr>
|
|
271
271
|
<td class="col-md-4">
|
|
272
|
-
<code>constructor(config: GlobalConfig, http: HttpClient, platformId: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank">object</a>, router: Router, storeService: <a href="../injectables/StoreService.html" target="_self">StoreService</a>, i18nService: <a href="../injectables/I18nService.html" target="_self">I18nService</a>)</code>
|
|
272
|
+
<code>constructor(config: GlobalConfig, http: HttpClient, platformId: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank">object</a>, document: Document, router: Router, storeService: <a href="../injectables/StoreService.html" target="_self">StoreService</a>, i18nService: <a href="../injectables/I18nService.html" target="_self">I18nService</a>)</code>
|
|
273
273
|
</td>
|
|
274
274
|
</tr>
|
|
275
275
|
|
|
@@ -321,6 +321,18 @@
|
|
|
321
321
|
No
|
|
322
322
|
</td>
|
|
323
323
|
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td>document</td>
|
|
327
|
+
|
|
328
|
+
<td>
|
|
329
|
+
<code>Document</code>
|
|
330
|
+
</td>
|
|
331
|
+
|
|
332
|
+
<td>
|
|
333
|
+
No
|
|
334
|
+
</td>
|
|
335
|
+
|
|
324
336
|
</tr>
|
|
325
337
|
<tr>
|
|
326
338
|
<td>router</td>
|