@eui/core 10.6.11-snapshot-1663172685399 → 10.6.11
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/bundles/eui-core.umd.js +11 -0
- package/bundles/eui-core.umd.js.map +1 -1
- package/bundles/eui-core.umd.min.js +1 -1
- package/bundles/eui-core.umd.min.js.map +1 -1
- package/docs/injectables/UxAppShellService.html +78 -0
- package/docs/interfaces/UIState.html +38 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1 -0
- package/esm2015/lib/services/ux-app-shell.service.js +12 -1
- package/fesm2015/eui-core.js +11 -0
- package/fesm2015/eui-core.js.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +3 -0
- package/package.json +2 -2
package/bundles/eui-core.umd.js
CHANGED
|
@@ -1473,6 +1473,7 @@
|
|
|
1473
1473
|
isSidebarExpandOnHover: true,
|
|
1474
1474
|
hasSidebar: false,
|
|
1475
1475
|
hasHeader: false,
|
|
1476
|
+
hasBreadcrumbs: false,
|
|
1476
1477
|
hasHeaderLogo: false,
|
|
1477
1478
|
hasHeaderEnvironment: false,
|
|
1478
1479
|
environmentValue: '',
|
|
@@ -1748,6 +1749,10 @@
|
|
|
1748
1749
|
this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
|
|
1749
1750
|
this.activateHeaderCssVars();
|
|
1750
1751
|
};
|
|
1752
|
+
UxAppShellService.prototype.activateBreadcrumbs = function () {
|
|
1753
|
+
this.setState(Object.assign(Object.assign({}, this.state), { hasBreadcrumbs: true }));
|
|
1754
|
+
this.activateBreadcrumbsCssVars();
|
|
1755
|
+
};
|
|
1751
1756
|
UxAppShellService.prototype.activateTopMessage = function (height) {
|
|
1752
1757
|
this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
|
|
1753
1758
|
this.activateTopMessageCssVars(height);
|
|
@@ -1762,6 +1767,8 @@
|
|
|
1762
1767
|
'--eui-app-header-height-default',
|
|
1763
1768
|
'--eui-app-header-height-active',
|
|
1764
1769
|
'--eui-app-header-height-shrink',
|
|
1770
|
+
'--eui-app-breadcrumbs-height-default',
|
|
1771
|
+
'--eui-app-breadcrumbs-height-active',
|
|
1765
1772
|
'--eui-app-top-message-height-default',
|
|
1766
1773
|
'--eui-app-top-message-height-active',
|
|
1767
1774
|
'--eui-app-top-message-height-shrink',
|
|
@@ -1782,6 +1789,7 @@
|
|
|
1782
1789
|
};
|
|
1783
1790
|
UxAppShellService.prototype.initCssVars = function () {
|
|
1784
1791
|
this.setCssVar('--eui-app-header-height-default', '--eui-app-header-height');
|
|
1792
|
+
this.setCssVar('--eui-app-breadcrumbs-height-default', '--eui-app-breadcrumbs-height');
|
|
1785
1793
|
this.setCssVar('--eui-app-top-message-height-default', '--eui-app-top-message-height');
|
|
1786
1794
|
this.setCssVar('--eui-app-toolbar-height-default', '--eui-app-toolbar-height');
|
|
1787
1795
|
this.setCssVar('--eui-app-sidebar-width-default', '--eui-app-sidebar-width');
|
|
@@ -1792,6 +1800,9 @@
|
|
|
1792
1800
|
UxAppShellService.prototype.activateHeaderCssVars = function () {
|
|
1793
1801
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1794
1802
|
};
|
|
1803
|
+
UxAppShellService.prototype.activateBreadcrumbsCssVars = function () {
|
|
1804
|
+
this.setCssVar('--eui-app-breadcrumbs-height-active', '--eui-app-breadcrumbs-height');
|
|
1805
|
+
};
|
|
1795
1806
|
UxAppShellService.prototype.activateTopMessageCssVars = function (height) {
|
|
1796
1807
|
this._setCssVarValue('--eui-app-top-message-height', height + "px");
|
|
1797
1808
|
};
|