@eui/core 18.0.0-rc.34 → 18.0.0-rc.36
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 +59 -2
- package/docs/dependencies.html +1 -1
- package/docs/injectables/EuiAppShellService.html +13 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +6 -10
- package/esm2022/lib/helpers/css-utils.mjs +74 -60
- package/esm2022/lib/helpers/dom-helpers.mjs +3 -9
- package/esm2022/lib/services/eui-app-shell.service.mjs +20 -16
- package/fesm2022/eui-core.mjs +93 -82
- package/fesm2022/eui-core.mjs.map +1 -1
- package/lib/helpers/css-utils.d.ts +24 -18
- package/lib/helpers/css-utils.d.ts.map +1 -1
- package/lib/helpers/dom-helpers.d.ts +1 -1
- package/lib/helpers/dom-helpers.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
|
@@ -485,7 +485,38 @@
|
|
|
485
485
|
</td>
|
|
486
486
|
</tr>
|
|
487
487
|
|
|
488
|
+
<tr>
|
|
489
|
+
<td class="col-md-4">
|
|
490
|
+
<div class="io-description"><p>Get the value of a CSS variable. Using getComputedStyle to get the value of the CSS variable (Browser Specific API)</p>
|
|
491
|
+
</div>
|
|
492
|
+
</td>
|
|
493
|
+
</tr>
|
|
488
494
|
|
|
495
|
+
<tr>
|
|
496
|
+
<td class="col-md-4">
|
|
497
|
+
<div class="io-description">
|
|
498
|
+
<b>Parameters :</b>
|
|
499
|
+
<table class="params">
|
|
500
|
+
<thead>
|
|
501
|
+
<tr>
|
|
502
|
+
<td>Name</td>
|
|
503
|
+
</tr>
|
|
504
|
+
</thead>
|
|
505
|
+
<tbody>
|
|
506
|
+
<tr>
|
|
507
|
+
<td>inputProperty</td>
|
|
508
|
+
</tr>
|
|
509
|
+
<tr>
|
|
510
|
+
<td>document</td>
|
|
511
|
+
</tr>
|
|
512
|
+
<tr>
|
|
513
|
+
<td>platform</td>
|
|
514
|
+
</tr>
|
|
515
|
+
</tbody>
|
|
516
|
+
</table>
|
|
517
|
+
</div>
|
|
518
|
+
</td>
|
|
519
|
+
</tr>
|
|
489
520
|
</tbody>
|
|
490
521
|
</table>
|
|
491
522
|
<table class="table table-sm table-bordered">
|
|
@@ -620,7 +651,7 @@
|
|
|
620
651
|
<tr>
|
|
621
652
|
<td class="col-md-4">
|
|
622
653
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
623
|
-
<code>setAppViewportCssVars()</code>
|
|
654
|
+
<code>setAppViewportCssVars(platform)</code>
|
|
624
655
|
</td>
|
|
625
656
|
</tr>
|
|
626
657
|
|
|
@@ -629,7 +660,7 @@
|
|
|
629
660
|
|
|
630
661
|
<tr>
|
|
631
662
|
<td class="col-md-4">
|
|
632
|
-
<div class="io-description"><p>Gets the viewport height and width and
|
|
663
|
+
<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
664
|
Sets the value in the --eui-app-vh custom property to the root of the document
|
|
634
665
|
Sets the value in the --eui-app-vw custom property to the root of the document
|
|
635
666
|
Example for 100% height: calc(var(--eui-app-vh, 1vh) * 100);
|
|
@@ -637,10 +668,36 @@ Example for 50% height: calc(var(--eui-app-vh, 1vh) * 50);
|
|
|
637
668
|
Example for 50% width: calc(var(--eui-app-vw, 1vw) * 50);</p>
|
|
638
669
|
</div>
|
|
639
670
|
|
|
671
|
+
<div class="io-description">
|
|
672
|
+
<b>Parameters :</b>
|
|
673
|
+
|
|
674
|
+
<table class="params">
|
|
675
|
+
<thead>
|
|
676
|
+
<tr>
|
|
677
|
+
<td>Name</td>
|
|
678
|
+
<td>Optional</td>
|
|
679
|
+
</tr>
|
|
680
|
+
</thead>
|
|
681
|
+
<tbody>
|
|
682
|
+
<tr>
|
|
683
|
+
<td>platform</td>
|
|
684
|
+
|
|
685
|
+
<td>
|
|
686
|
+
No
|
|
687
|
+
</td>
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
</tr>
|
|
691
|
+
</tbody>
|
|
692
|
+
</table>
|
|
693
|
+
</div>
|
|
640
694
|
<div class="io-description">
|
|
641
695
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
642
696
|
|
|
643
697
|
</div>
|
|
698
|
+
<div class="io-description">
|
|
699
|
+
|
|
700
|
+
</div>
|
|
644
701
|
</td>
|
|
645
702
|
</tr>
|
|
646
703
|
</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>
|