@eui/core 23.0.0-alpha.2 → 23.0.0-alpha.4
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 +61 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +126 -2
- package/docs/classes/ActivatedRouteAction.html +70 -20
- package/docs/classes/AddApiQueueItemAction.html +70 -20
- package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
- package/docs/classes/ApiQueueServiceMock.html +77 -20
- package/docs/classes/AsyncStorageService.html +86 -20
- package/docs/classes/AsyncStorageServiceMock.html +73 -17
- package/docs/classes/CssUtils.html +74 -20
- package/docs/classes/EmptyApiQueueAction.html +67 -17
- package/docs/classes/ErrorSubClass.html +68 -16
- package/docs/classes/EuiAppShellServiceMock.html +58 -20
- package/docs/classes/EuiCoreRootGuardClass.html +39 -8
- package/docs/classes/EuiError.html +69 -17
- package/docs/classes/I18nResourceImpl.html +50 -17
- package/docs/classes/InitStoreAction.html +70 -20
- package/docs/classes/LogServiceMock.html +67 -17
- package/docs/classes/RemoveApiQueueItemAction.html +67 -17
- package/docs/classes/StorageService.html +83 -19
- package/docs/classes/StorageServiceMock.html +70 -17
- package/docs/classes/TranslateServiceMock.html +90 -35
- package/docs/classes/UpdateAppConnectionAction.html +67 -17
- package/docs/classes/UpdateAppStatusAction.html +67 -17
- package/docs/classes/UpdateAppVersionAction.html +67 -17
- package/docs/classes/UpdateCurrentModuleAction.html +67 -17
- package/docs/classes/UpdateI18nStateAction.html +67 -17
- package/docs/classes/UpdateLocaleStateAction.html +67 -17
- package/docs/classes/UpdateNotificationsListAction.html +67 -17
- package/docs/classes/UpdateUserDashboardAction.html +67 -17
- package/docs/classes/UpdateUserDetailsAction.html +67 -17
- package/docs/classes/UpdateUserPreferencesAction.html +67 -17
- package/docs/classes/UpdateUserRightsAction.html +67 -17
- package/docs/classes/UpdateUserStateAction.html +67 -17
- package/docs/dependencies.html +38 -4
- package/docs/directives/TranslateMockDirective.html +72 -19
- package/docs/index.html +26 -2
- package/docs/injectables/ApiQueueService.html +97 -20
- package/docs/injectables/EuiAppShellService.html +147 -68
- package/docs/injectables/EuiDynamicComponentService.html +51 -18
- package/docs/injectables/EuiDynamicMenuService.html +67 -20
- package/docs/injectables/EuiGrowlService.html +85 -21
- package/docs/injectables/EuiLoaderService.html +65 -17
- package/docs/injectables/EuiPermissionService.html +95 -20
- package/docs/injectables/EuiThemeService.html +89 -34
- package/docs/injectables/EuiTimezoneService.html +51 -16
- package/docs/injectables/GlobalErrorHandler.html +79 -17
- package/docs/injectables/I18nLoader.html +53 -17
- package/docs/injectables/I18nService.html +101 -23
- package/docs/injectables/I18nServiceMock.html +96 -34
- package/docs/injectables/LocalForageService.html +81 -21
- package/docs/injectables/LocalStorageService.html +78 -21
- package/docs/injectables/LocaleService.html +124 -41
- package/docs/injectables/LocaleServiceMock.html +72 -18
- package/docs/injectables/LogService.html +68 -17
- package/docs/injectables/SessionStorageService.html +78 -21
- package/docs/injectables/StoreService.html +91 -22
- package/docs/injectables/StoreServiceMock.html +72 -17
- package/docs/injectables/UserService.html +97 -23
- package/docs/injectables/UserServiceMock.html +81 -23
- package/docs/interceptors/AddLangParamInterceptor.html +49 -18
- package/docs/interceptors/CachePreventionInterceptor.html +48 -17
- package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
- package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
- package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
- package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
- package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
- package/docs/interfaces/Action.html +158 -60
- package/docs/interfaces/ActionReducer.html +84 -55
- package/docs/interfaces/ComponentInfo.html +151 -123
- package/docs/interfaces/Dependency.html +278 -250
- package/docs/interfaces/Edit-1.html +151 -123
- package/docs/interfaces/Edit-2.html +151 -123
- package/docs/interfaces/Edit.html +151 -123
- package/docs/interfaces/EuiComponentEntry.html +230 -202
- package/docs/interfaces/EuiTimeZone.html +121 -93
- package/docs/interfaces/IEuiTheme.html +181 -153
- package/docs/interfaces/ImportToAdd.html +164 -136
- package/docs/interfaces/ImportsArrayInfo.html +121 -93
- package/docs/interfaces/Library.html +169 -137
- package/docs/interfaces/LoadedResources.html +164 -136
- package/docs/interfaces/LoadedResourcesError.html +121 -93
- package/docs/interfaces/MemoizedSelector.html +187 -138
- package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
- package/docs/interfaces/MigrateAllSchema.html +228 -200
- package/docs/interfaces/MigrationResult.html +151 -123
- package/docs/interfaces/ModuleLoadEvent.html +164 -136
- package/docs/interfaces/ModuleMapping.html +121 -93
- package/docs/interfaces/NgModuleInfo.html +151 -123
- package/docs/interfaces/Policy.html +164 -136
- package/docs/interfaces/ResourceError.html +170 -142
- package/docs/interfaces/Schema-1.html +140 -112
- package/docs/interfaces/Schema-10.html +140 -112
- package/docs/interfaces/Schema-11.html +140 -112
- package/docs/interfaces/Schema-12.html +140 -112
- package/docs/interfaces/Schema-13.html +140 -112
- package/docs/interfaces/Schema-14.html +140 -112
- package/docs/interfaces/Schema-15.html +140 -112
- package/docs/interfaces/Schema-16.html +140 -112
- package/docs/interfaces/Schema-17.html +140 -112
- package/docs/interfaces/Schema-18.html +140 -112
- package/docs/interfaces/Schema-19.html +140 -112
- package/docs/interfaces/Schema-2.html +141 -113
- package/docs/interfaces/Schema-20.html +140 -112
- package/docs/interfaces/Schema-3.html +180 -152
- package/docs/interfaces/Schema-4.html +140 -112
- package/docs/interfaces/Schema-5.html +140 -112
- package/docs/interfaces/Schema-6.html +140 -112
- package/docs/interfaces/Schema-7.html +140 -112
- package/docs/interfaces/Schema-8.html +140 -112
- package/docs/interfaces/Schema-9.html +140 -112
- package/docs/interfaces/Schema.html +184 -156
- package/docs/interfaces/SelectorEntry.html +230 -202
- package/docs/interfaces/TextChange.html +151 -123
- package/docs/interfaces/ThemeState.html +121 -93
- package/docs/interfaces/TranslationKeys.html +41 -11
- package/docs/interfaces/UIState.html +1669 -1641
- package/docs/interfaces/body.html +181 -153
- package/docs/js/architecture-graph.js +288 -0
- package/docs/js/libs/bootstrap-native.js +4 -2
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +2 -2
- package/docs/js/libs/vis-network.min.js +7 -7
- package/docs/js/menu-wc.js +47 -14
- package/docs/js/routes.js +138 -37
- package/docs/js/search/search.js +62 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/tabs.js +98 -15
- package/docs/js/tree.js +44 -7
- package/docs/json/EuiPermissionService.md +1 -0
- package/docs/json/LocaleService.md +1 -0
- package/docs/json/documentation.json +6691 -1067
- package/docs/license.html +26 -2
- package/docs/llms.txt +2282 -0
- package/docs/miscellaneous/enumerations.html +34 -10
- package/docs/miscellaneous/functions.html +550 -394
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +196 -175
- package/docs/modules/CoreModule.html +34 -9
- package/docs/modules/I18nModule.html +34 -9
- package/docs/modules/LogModule.html +34 -9
- package/docs/modules/TranslateMockModule.html +60 -13
- package/docs/modules.html +26 -2
- package/docs/overview.html +27 -3
- package/docs/pipes/TranslateMockPipe.html +87 -9
- package/docs/properties.html +27 -3
- package/docs/routes.html +26 -2
- package/docs/styles/compodoc.css +365 -44
- package/docs/styles/dark.css +16 -0
- package/docs/template-playground/hbs-render.service.ts +6 -1
- package/fesm2022/eui-core.mjs +26 -27
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +9 -11
- package/types/eui-core.d.ts.map +1 -1
- package/docs/js/menu-wc_es5.js +0 -40
|
@@ -85,7 +85,14 @@
|
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
87
|
<div class="xs-menu menu" id="mobile-menu">
|
|
88
|
-
<div id="book-search-input" role="search"
|
|
88
|
+
<div id="book-search-input" role="search">
|
|
89
|
+
<input type="text" placeholder="Type to search">
|
|
90
|
+
<button type="button"
|
|
91
|
+
class="search-input-clear"
|
|
92
|
+
aria-label="Clear search"
|
|
93
|
+
data-search-input-clear>×</button>
|
|
94
|
+
</div>
|
|
95
|
+
<compodoc-menu></compodoc-menu>
|
|
89
96
|
</div>
|
|
90
97
|
|
|
91
98
|
<div class="container-fluid main">
|
|
@@ -131,52 +138,52 @@
|
|
|
131
138
|
<td class="col-md-4">
|
|
132
139
|
<ul class="index-list">
|
|
133
140
|
<li>
|
|
134
|
-
<a href="#ActionReducerMap" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>ActionReducerMap</b> (packages/.../ngrx_kit.ts)</a>
|
|
141
|
+
<a href="#ActionReducerMap" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>ActionReducerMap</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
135
142
|
</li>
|
|
136
143
|
<li>
|
|
137
|
-
<a href="#AnyFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>AnyFn</b> (packages/.../ngrx_kit.ts)</a>
|
|
144
|
+
<a href="#AnyFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>AnyFn</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
138
145
|
</li>
|
|
139
146
|
<li>
|
|
140
|
-
<a href="#ComparatorFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>ComparatorFn</b> (packages/.../ngrx_kit.ts)</a>
|
|
147
|
+
<a href="#ComparatorFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>ComparatorFn</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
141
148
|
</li>
|
|
142
149
|
<li>
|
|
143
|
-
<a href="#CoreAppActions" title="packages/core/src/lib/services/store/actions/app.actions.ts" class="deprecated-name"><b>CoreAppActions</b> (packages/.../app.actions.ts)</a>
|
|
150
|
+
<a href="#CoreAppActions" title="packages/core/src/lib/services/store/actions/app.actions.ts" class="reference-link deprecated-name"><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>CoreAppActions</b> (packages/.../app.actions.ts)</span></a>
|
|
144
151
|
</li>
|
|
145
152
|
<li>
|
|
146
|
-
<a href="#CoreI18nActions" title="packages/core/src/lib/services/store/actions/i18n.actions.ts" class="deprecated-name"><b>CoreI18nActions</b> (packages/.../i18n.actions.ts)</a>
|
|
153
|
+
<a href="#CoreI18nActions" title="packages/core/src/lib/services/store/actions/i18n.actions.ts" class="reference-link deprecated-name"><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>CoreI18nActions</b> (packages/.../i18n.actions.ts)</span></a>
|
|
147
154
|
</li>
|
|
148
155
|
<li>
|
|
149
|
-
<a href="#CoreLocaleActions" title="packages/core/src/lib/services/store/actions/locale.actions.ts" class="deprecated-name"><b>CoreLocaleActions</b> (packages/.../locale.actions.ts)</a>
|
|
156
|
+
<a href="#CoreLocaleActions" title="packages/core/src/lib/services/store/actions/locale.actions.ts" class="reference-link deprecated-name"><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>CoreLocaleActions</b> (packages/.../locale.actions.ts)</span></a>
|
|
150
157
|
</li>
|
|
151
158
|
<li>
|
|
152
|
-
<a href="#CoreNotificationsActions" title="packages/core/src/lib/services/store/actions/notifications.actions.ts" class="deprecated-name"><b>CoreNotificationsActions</b> (packages/.../notifications.actions.ts)</a>
|
|
159
|
+
<a href="#CoreNotificationsActions" title="packages/core/src/lib/services/store/actions/notifications.actions.ts" class="reference-link deprecated-name"><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>CoreNotificationsActions</b> (packages/.../notifications.actions.ts)</span></a>
|
|
153
160
|
</li>
|
|
154
161
|
<li>
|
|
155
|
-
<a href="#CoreUserActions" title="packages/core/src/lib/services/store/actions/user.actions.ts" class="deprecated-name"><b>CoreUserActions</b> (packages/.../user.actions.ts)</a>
|
|
162
|
+
<a href="#CoreUserActions" title="packages/core/src/lib/services/store/actions/user.actions.ts" class="reference-link deprecated-name"><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>CoreUserActions</b> (packages/.../user.actions.ts)</span></a>
|
|
156
163
|
</li>
|
|
157
164
|
<li>
|
|
158
|
-
<a href="#DefaultProjectorFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>DefaultProjectorFn</b> (packages/.../ngrx_kit.ts)</a>
|
|
165
|
+
<a href="#DefaultProjectorFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>DefaultProjectorFn</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
159
166
|
</li>
|
|
160
167
|
<li>
|
|
161
|
-
<a href="#Handler" title="packages/core/src/lib/services/store/store.service.ts" ><b>Handler</b> (packages/.../store.service.ts)</a>
|
|
168
|
+
<a href="#Handler" title="packages/core/src/lib/services/store/store.service.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>Handler</b> (packages/.../store.service.ts)</span></a>
|
|
162
169
|
</li>
|
|
163
170
|
<li>
|
|
164
|
-
<a href="#LocaleMapper" title="packages/core/src/lib/services/locale/locale.service.ts" ><b>LocaleMapper</b> (packages/.../locale.service.ts)</a>
|
|
171
|
+
<a href="#LocaleMapper" title="packages/core/src/lib/services/locale/locale.service.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>LocaleMapper</b> (packages/.../locale.service.ts)</span></a>
|
|
165
172
|
</li>
|
|
166
173
|
<li>
|
|
167
|
-
<a href="#MemoizedProjection" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>MemoizedProjection</b> (packages/.../ngrx_kit.ts)</a>
|
|
174
|
+
<a href="#MemoizedProjection" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>MemoizedProjection</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
168
175
|
</li>
|
|
169
176
|
<li>
|
|
170
|
-
<a href="#MemoizeFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>MemoizeFn</b> (packages/.../ngrx_kit.ts)</a>
|
|
177
|
+
<a href="#MemoizeFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>MemoizeFn</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
171
178
|
</li>
|
|
172
179
|
<li>
|
|
173
|
-
<a href="#Selector" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>Selector</b> (packages/.../ngrx_kit.ts)</a>
|
|
180
|
+
<a href="#Selector" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>Selector</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
174
181
|
</li>
|
|
175
182
|
<li>
|
|
176
|
-
<a href="#SelectorFactoryConfig" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>SelectorFactoryConfig</b> (packages/.../ngrx_kit.ts)</a>
|
|
183
|
+
<a href="#SelectorFactoryConfig" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>SelectorFactoryConfig</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
177
184
|
</li>
|
|
178
185
|
<li>
|
|
179
|
-
<a href="#SelectorWithProps" title="packages/core/src/lib/services/store/ngrx_kit.ts" ><b>SelectorWithProps</b> (packages/.../ngrx_kit.ts)</a>
|
|
186
|
+
<a href="#SelectorWithProps" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>SelectorWithProps</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
180
187
|
</li>
|
|
181
188
|
</ul>
|
|
182
189
|
</td>
|
|
@@ -261,7 +268,7 @@
|
|
|
261
268
|
</tr>
|
|
262
269
|
<tr>
|
|
263
270
|
<td class="col-md-4">
|
|
264
|
-
<code>
|
|
271
|
+
<code> <code><a href="../miscellaneous/typealiases.html#AnyFn" target="_self" >{ memoized: AnyFn; reset: void; setResult: void; clearResult: void }</a></code>
|
|
265
272
|
</code>
|
|
266
273
|
</td>
|
|
267
274
|
</tr>
|
|
@@ -309,7 +316,7 @@
|
|
|
309
316
|
</tr>
|
|
310
317
|
<tr>
|
|
311
318
|
<td class="col-md-4">
|
|
312
|
-
<code> <code>
|
|
319
|
+
<code> <code>{ stateFn: V }</code>
|
|
313
320
|
</code>
|
|
314
321
|
</td>
|
|
315
322
|
</tr>
|
|
@@ -331,7 +338,8 @@
|
|
|
331
338
|
</tr>
|
|
332
339
|
</tbody>
|
|
333
340
|
</table>
|
|
334
|
-
</section>
|
|
341
|
+
</section>
|
|
342
|
+
<h3>packages/core/src/lib/services/store/actions/app.actions.ts</h3>
|
|
335
343
|
<section data-compodoc="block-typealias">
|
|
336
344
|
<table class="table table-sm table-bordered">
|
|
337
345
|
<tbody>
|
|
@@ -354,7 +362,8 @@
|
|
|
354
362
|
</tr>
|
|
355
363
|
</tbody>
|
|
356
364
|
</table>
|
|
357
|
-
</section>
|
|
365
|
+
</section>
|
|
366
|
+
<h3>packages/core/src/lib/services/store/actions/i18n.actions.ts</h3>
|
|
358
367
|
<section data-compodoc="block-typealias">
|
|
359
368
|
<table class="table table-sm table-bordered">
|
|
360
369
|
<tbody>
|
|
@@ -377,7 +386,8 @@
|
|
|
377
386
|
</tr>
|
|
378
387
|
</tbody>
|
|
379
388
|
</table>
|
|
380
|
-
</section>
|
|
389
|
+
</section>
|
|
390
|
+
<h3>packages/core/src/lib/services/store/actions/locale.actions.ts</h3>
|
|
381
391
|
<section data-compodoc="block-typealias">
|
|
382
392
|
<table class="table table-sm table-bordered">
|
|
383
393
|
<tbody>
|
|
@@ -400,7 +410,8 @@
|
|
|
400
410
|
</tr>
|
|
401
411
|
</tbody>
|
|
402
412
|
</table>
|
|
403
|
-
</section>
|
|
413
|
+
</section>
|
|
414
|
+
<h3>packages/core/src/lib/services/store/actions/notifications.actions.ts</h3>
|
|
404
415
|
<section data-compodoc="block-typealias">
|
|
405
416
|
<table class="table table-sm table-bordered">
|
|
406
417
|
<tbody>
|
|
@@ -423,7 +434,8 @@
|
|
|
423
434
|
</tr>
|
|
424
435
|
</tbody>
|
|
425
436
|
</table>
|
|
426
|
-
</section>
|
|
437
|
+
</section>
|
|
438
|
+
<h3>packages/core/src/lib/services/store/actions/user.actions.ts</h3>
|
|
427
439
|
<section data-compodoc="block-typealias">
|
|
428
440
|
<table class="table table-sm table-bordered">
|
|
429
441
|
<tbody>
|
|
@@ -446,7 +458,8 @@
|
|
|
446
458
|
</tr>
|
|
447
459
|
</tbody>
|
|
448
460
|
</table>
|
|
449
|
-
</section>
|
|
461
|
+
</section>
|
|
462
|
+
<h3>packages/core/src/lib/services/store/store.service.ts</h3>
|
|
450
463
|
<section data-compodoc="block-typealias">
|
|
451
464
|
<table class="table table-sm table-bordered">
|
|
452
465
|
<tbody>
|
|
@@ -464,7 +477,8 @@
|
|
|
464
477
|
</tr>
|
|
465
478
|
</tbody>
|
|
466
479
|
</table>
|
|
467
|
-
</section>
|
|
480
|
+
</section>
|
|
481
|
+
<h3>packages/core/src/lib/services/locale/locale.service.ts</h3>
|
|
468
482
|
<section data-compodoc="block-typealias">
|
|
469
483
|
<table class="table table-sm table-bordered">
|
|
470
484
|
<tbody>
|
|
@@ -485,6 +499,7 @@
|
|
|
485
499
|
</section>
|
|
486
500
|
|
|
487
501
|
|
|
502
|
+
|
|
488
503
|
</div><div class="search-results">
|
|
489
504
|
<div class="has-results">
|
|
490
505
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -517,6 +532,24 @@
|
|
|
517
532
|
|
|
518
533
|
<script>
|
|
519
534
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
535
|
+
var updateDarkModeSwitchOffset = function () {
|
|
536
|
+
var content = document.querySelector('.content');
|
|
537
|
+
var scrollbarWidth = 0;
|
|
538
|
+
|
|
539
|
+
if (content) {
|
|
540
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
document.documentElement.style.setProperty(
|
|
544
|
+
'--content-scrollbar-width',
|
|
545
|
+
scrollbarWidth + 'px'
|
|
546
|
+
);
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
updateDarkModeSwitchOffset();
|
|
550
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
551
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
552
|
+
|
|
520
553
|
checkToggle(darkModeState);
|
|
521
554
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
522
555
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -532,7 +565,6 @@
|
|
|
532
565
|
<script src="../js/libs/lit-html.js"></script>
|
|
533
566
|
|
|
534
567
|
<script src="../js/menu-wc.js" defer></script>
|
|
535
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
536
568
|
|
|
537
569
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
538
570
|
|