@eui/core 10.5.3 → 10.5.4-snapshot-1637153610002
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 +8 -5
- 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/dependencies.html +1 -1
- package/docs/injectables/UxAppShellService.html +64 -2
- 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 +9 -6
- package/fesm2015/eui-core.js +8 -5
- package/fesm2015/eui-core.js.map +1 -1
- package/lib/services/ux-app-shell.service.d.ts +3 -2
- package/package.json +2 -2
package/bundles/eui-core.umd.js
CHANGED
|
@@ -1433,6 +1433,7 @@
|
|
|
1433
1433
|
isSidebarActive: false,
|
|
1434
1434
|
isSidebarInnerActive: false,
|
|
1435
1435
|
isSidebarStateCloseWithIcons: false,
|
|
1436
|
+
isSidebarExpandOnHover: true,
|
|
1436
1437
|
hasSidebar: false,
|
|
1437
1438
|
hasHeader: false,
|
|
1438
1439
|
hasHeaderLogo: false,
|
|
@@ -1568,7 +1569,9 @@
|
|
|
1568
1569
|
return this.state.isSidebarHover;
|
|
1569
1570
|
},
|
|
1570
1571
|
set: function (isHover) {
|
|
1571
|
-
|
|
1572
|
+
if (this.state.isSidebarExpandOnHover) {
|
|
1573
|
+
this.setState(Object.assign(Object.assign({}, this.state), { isSidebarHover: isHover }));
|
|
1574
|
+
}
|
|
1572
1575
|
},
|
|
1573
1576
|
enumerable: false,
|
|
1574
1577
|
configurable: true
|
|
@@ -1708,9 +1711,9 @@
|
|
|
1708
1711
|
this.setState(Object.assign(Object.assign({}, this.state), { hasHeader: true }));
|
|
1709
1712
|
this.activateHeaderCssVars();
|
|
1710
1713
|
};
|
|
1711
|
-
UxAppShellService.prototype.activateTopMessage = function () {
|
|
1714
|
+
UxAppShellService.prototype.activateTopMessage = function (height) {
|
|
1712
1715
|
this.setState(Object.assign(Object.assign({}, this.state), { hasTopMessage: true }));
|
|
1713
|
-
this.activateTopMessageCssVars();
|
|
1716
|
+
this.activateTopMessageCssVars(height);
|
|
1714
1717
|
};
|
|
1715
1718
|
UxAppShellService.prototype.activateToolbar = function () {
|
|
1716
1719
|
this.setState(Object.assign(Object.assign({}, this.state), { hasToolbar: true }));
|
|
@@ -1752,8 +1755,8 @@
|
|
|
1752
1755
|
UxAppShellService.prototype.activateHeaderCssVars = function () {
|
|
1753
1756
|
this.setCssVar('--eui-app-header-height-active', '--eui-app-header-height');
|
|
1754
1757
|
};
|
|
1755
|
-
UxAppShellService.prototype.activateTopMessageCssVars = function () {
|
|
1756
|
-
this.
|
|
1758
|
+
UxAppShellService.prototype.activateTopMessageCssVars = function (height) {
|
|
1759
|
+
this._setCssVarValue('--eui-app-top-message-height', height + "px");
|
|
1757
1760
|
};
|
|
1758
1761
|
UxAppShellService.prototype.activateToolbarCssVars = function () {
|
|
1759
1762
|
this.setCssVar('--eui-app-toolbar-height-active', '--eui-app-toolbar-height');
|