@eui/core 23.0.0-alpha.10 → 23.0.0-alpha.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/CHANGELOG.md +40 -0
- package/docs/changelog.html +10 -0
- package/docs/injectables/EuiAppShellService.html +2 -2
- package/docs/interfaces/Schema-13.html +1 -1
- package/docs/interfaces/Schema-14.html +1 -1
- package/docs/interfaces/Schema-16.html +1 -1
- package/docs/interfaces/Schema-17.html +1 -1
- package/docs/interfaces/Schema-4.html +1 -1
- package/docs/interfaces/Schema-5.html +1 -1
- package/docs/interfaces/Schema-6.html +1 -1
- package/docs/interfaces/UIState.html +45 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +508 -496
- package/docs/llms.txt +49 -48
- package/docs/miscellaneous/functions.html +54 -54
- package/docs/miscellaneous/variables.html +32 -32
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +2 -7
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +3 -2
- package/types/eui-core.d.ts.map +1 -1
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -3071,10 +3071,10 @@ const initialState$1 = {
|
|
|
3071
3071
|
appBaseFontSize: '',
|
|
3072
3072
|
isSidebarOpen: true,
|
|
3073
3073
|
isSidebarActive: false,
|
|
3074
|
-
hasFixedPosition: true,
|
|
3075
3074
|
hasSidebar: false,
|
|
3076
3075
|
hasSideContainer: false,
|
|
3077
3076
|
hasHeader: false,
|
|
3077
|
+
isShrinkHeaderActive: false,
|
|
3078
3078
|
hasBreadcrumb: false,
|
|
3079
3079
|
hasHeaderLogo: false,
|
|
3080
3080
|
hasHeaderEnvironment: false,
|
|
@@ -3216,6 +3216,7 @@ class EuiAppShellService {
|
|
|
3216
3216
|
this._breakpoints$ = new BehaviorSubject({});
|
|
3217
3217
|
this.bindActiveLanguageToAppShellState();
|
|
3218
3218
|
}
|
|
3219
|
+
//eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3219
3220
|
setState(nextState, updateI18 = true) {
|
|
3220
3221
|
let breakpoint, breakpoints;
|
|
3221
3222
|
let combinedLinks;
|
|
@@ -3412,12 +3413,6 @@ class EuiAppShellService {
|
|
|
3412
3413
|
if (state.deviceInfo?.isChrome) {
|
|
3413
3414
|
classes.push('chrome');
|
|
3414
3415
|
}
|
|
3415
|
-
if (state.hasFixedPosition) {
|
|
3416
|
-
classes.push('fixed-position');
|
|
3417
|
-
}
|
|
3418
|
-
else {
|
|
3419
|
-
classes.push('relative-position');
|
|
3420
|
-
}
|
|
3421
3416
|
return classes.join(' ');
|
|
3422
3417
|
}
|
|
3423
3418
|
getBreakpoint(windowWidth) {
|