@eui/core 21.4.2-snapshot-1787737932680 → 22.0.0-alpha.2

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.
Files changed (169) hide show
  1. package/CHANGELOG.md +375 -0
  2. package/docs/architecture.html +223 -0
  3. package/docs/changelog.html +510 -2
  4. package/docs/classes/ActivatedRouteAction.html +70 -20
  5. package/docs/classes/AddApiQueueItemAction.html +70 -20
  6. package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
  7. package/docs/classes/ApiQueueServiceMock.html +77 -20
  8. package/docs/classes/AsyncStorageService.html +86 -20
  9. package/docs/classes/AsyncStorageServiceMock.html +73 -17
  10. package/docs/classes/CssUtils.html +74 -20
  11. package/docs/classes/EmptyApiQueueAction.html +67 -17
  12. package/docs/classes/ErrorSubClass.html +68 -16
  13. package/docs/classes/EuiAppShellServiceMock.html +58 -20
  14. package/docs/classes/EuiCoreRootGuardClass.html +39 -8
  15. package/docs/classes/EuiError.html +69 -17
  16. package/docs/classes/I18nResourceImpl.html +49 -16
  17. package/docs/classes/InitStoreAction.html +70 -20
  18. package/docs/classes/LogServiceMock.html +67 -17
  19. package/docs/classes/RemoveApiQueueItemAction.html +67 -17
  20. package/docs/classes/StorageService.html +83 -19
  21. package/docs/classes/StorageServiceMock.html +70 -17
  22. package/docs/classes/TranslateLoaderMock.html +354 -0
  23. package/docs/classes/TranslateServiceMock.html +90 -35
  24. package/docs/classes/UpdateAppConnectionAction.html +67 -17
  25. package/docs/classes/UpdateAppStatusAction.html +67 -17
  26. package/docs/classes/UpdateAppVersionAction.html +67 -17
  27. package/docs/classes/UpdateCurrentModuleAction.html +67 -17
  28. package/docs/classes/UpdateI18nStateAction.html +67 -17
  29. package/docs/classes/UpdateLocaleStateAction.html +67 -17
  30. package/docs/classes/UpdateNotificationsListAction.html +67 -17
  31. package/docs/classes/UpdateUserDashboardAction.html +67 -17
  32. package/docs/classes/UpdateUserDetailsAction.html +67 -17
  33. package/docs/classes/UpdateUserPreferencesAction.html +67 -17
  34. package/docs/classes/UpdateUserRightsAction.html +67 -17
  35. package/docs/classes/UpdateUserStateAction.html +67 -17
  36. package/docs/dependencies.html +38 -4
  37. package/docs/directives/TranslateMockDirective.html +72 -19
  38. package/docs/index.html +27 -3
  39. package/docs/injectables/ApiQueueService.html +97 -20
  40. package/docs/injectables/EuiAppShellService.html +149 -70
  41. package/docs/injectables/EuiDynamicComponentService.html +51 -18
  42. package/docs/injectables/EuiDynamicMenuService.html +67 -20
  43. package/docs/injectables/EuiGrowlService.html +85 -21
  44. package/docs/injectables/EuiLoaderService.html +65 -17
  45. package/docs/injectables/EuiPermissionService.html +95 -20
  46. package/docs/injectables/EuiThemeService.html +88 -33
  47. package/docs/injectables/EuiTimezoneService.html +51 -16
  48. package/docs/injectables/GlobalErrorHandler.html +79 -17
  49. package/docs/injectables/I18nLoader.html +53 -17
  50. package/docs/injectables/I18nService.html +100 -22
  51. package/docs/injectables/I18nServiceMock.html +96 -34
  52. package/docs/injectables/LocalForageService.html +81 -21
  53. package/docs/injectables/LocalStorageService.html +78 -21
  54. package/docs/injectables/LocaleService.html +124 -41
  55. package/docs/injectables/LocaleServiceMock.html +72 -18
  56. package/docs/injectables/LogService.html +68 -17
  57. package/docs/injectables/SessionStorageService.html +78 -21
  58. package/docs/injectables/StoreService.html +88 -19
  59. package/docs/injectables/StoreServiceMock.html +72 -17
  60. package/docs/injectables/UserService.html +96 -22
  61. package/docs/injectables/UserServiceMock.html +81 -23
  62. package/docs/interceptors/AddLangParamInterceptor.html +49 -18
  63. package/docs/interceptors/CachePreventionInterceptor.html +48 -17
  64. package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
  65. package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
  66. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
  67. package/docs/interceptors/HttpErrorHandlerInterceptor.html +47 -16
  68. package/docs/interceptors/UxRequestErrorModelInterceptor.html +47 -16
  69. package/docs/interfaces/Action.html +158 -60
  70. package/docs/interfaces/ActionReducer.html +84 -55
  71. package/docs/interfaces/ComponentInfo.html +151 -123
  72. package/docs/interfaces/Dependency.html +278 -250
  73. package/docs/interfaces/Edit-1.html +151 -123
  74. package/docs/interfaces/Edit-2.html +151 -123
  75. package/docs/interfaces/Edit-3.html +395 -0
  76. package/docs/interfaces/Edit.html +151 -123
  77. package/docs/interfaces/EuiComponentEntry.html +230 -202
  78. package/docs/interfaces/EuiTimeZone.html +121 -93
  79. package/docs/interfaces/IEuiTheme.html +181 -153
  80. package/docs/interfaces/ImportToAdd.html +164 -136
  81. package/docs/interfaces/ImportsArrayInfo.html +121 -93
  82. package/docs/interfaces/Library.html +169 -137
  83. package/docs/interfaces/LoadedResources.html +164 -136
  84. package/docs/interfaces/LoadedResourcesError.html +121 -93
  85. package/docs/interfaces/MemoizedSelector.html +187 -138
  86. package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
  87. package/docs/interfaces/MigrateAllSchema.html +228 -200
  88. package/docs/interfaces/MigrationResult.html +151 -123
  89. package/docs/interfaces/ModuleLoadEvent.html +164 -136
  90. package/docs/interfaces/ModuleMapping.html +121 -93
  91. package/docs/interfaces/NgModuleInfo.html +151 -123
  92. package/docs/interfaces/Policy.html +164 -136
  93. package/docs/interfaces/ResourceError.html +170 -142
  94. package/docs/interfaces/Schema-1.html +140 -112
  95. package/docs/interfaces/Schema-10.html +140 -112
  96. package/docs/interfaces/Schema-11.html +140 -112
  97. package/docs/interfaces/Schema-12.html +140 -112
  98. package/docs/interfaces/Schema-13.html +140 -112
  99. package/docs/interfaces/Schema-14.html +140 -112
  100. package/docs/interfaces/Schema-15.html +140 -112
  101. package/docs/interfaces/Schema-16.html +140 -112
  102. package/docs/interfaces/Schema-17.html +140 -112
  103. package/docs/interfaces/Schema-18.html +140 -112
  104. package/docs/interfaces/Schema-19.html +140 -112
  105. package/docs/interfaces/Schema-2.html +141 -113
  106. package/docs/interfaces/Schema-20.html +140 -112
  107. package/docs/interfaces/Schema-21.html +368 -0
  108. package/docs/interfaces/Schema-3.html +180 -152
  109. package/docs/interfaces/Schema-4.html +140 -112
  110. package/docs/interfaces/Schema-5.html +140 -112
  111. package/docs/interfaces/Schema-6.html +140 -112
  112. package/docs/interfaces/Schema-7.html +140 -112
  113. package/docs/interfaces/Schema-8.html +140 -112
  114. package/docs/interfaces/Schema-9.html +140 -112
  115. package/docs/interfaces/Schema.html +184 -156
  116. package/docs/interfaces/SelectorEntry.html +230 -202
  117. package/docs/interfaces/TextChange.html +151 -123
  118. package/docs/interfaces/ThemeState.html +121 -93
  119. package/docs/interfaces/TranslationKeys.html +41 -11
  120. package/docs/interfaces/UIState.html +1757 -1684
  121. package/docs/interfaces/body.html +181 -153
  122. package/docs/js/architecture-graph.js +288 -0
  123. package/docs/js/libs/bootstrap-native.js +4 -2
  124. package/docs/js/libs/tablesort.min.js +2 -2
  125. package/docs/js/libs/tablesort.number.min.js +2 -2
  126. package/docs/js/libs/vis-network.min.js +7 -7
  127. package/docs/js/menu-wc.js +56 -14
  128. package/docs/js/routes.js +138 -37
  129. package/docs/js/search/search.js +62 -0
  130. package/docs/js/search/search_index.js +2 -2
  131. package/docs/js/tabs.js +98 -15
  132. package/docs/js/tree.js +44 -7
  133. package/docs/json/EuiPermissionService.md +1 -0
  134. package/docs/json/LocaleService.md +1 -0
  135. package/docs/json/documentation.json +6494 -1009
  136. package/docs/license.html +26 -2
  137. package/docs/llms.txt +2326 -0
  138. package/docs/miscellaneous/enumerations.html +34 -10
  139. package/docs/miscellaneous/functions.html +1189 -517
  140. package/docs/miscellaneous/typealiases.html +59 -27
  141. package/docs/miscellaneous/variables.html +257 -175
  142. package/docs/modules/CoreModule.html +34 -9
  143. package/docs/modules/I18nModule.html +34 -9
  144. package/docs/modules/LogModule.html +34 -9
  145. package/docs/modules/TranslateMockModule.html +60 -13
  146. package/docs/modules.html +26 -2
  147. package/docs/overview.html +29 -5
  148. package/docs/pipes/TranslateMockPipe.html +87 -9
  149. package/docs/properties.html +27 -3
  150. package/docs/routes.html +26 -2
  151. package/docs/styles/compodoc.css +365 -44
  152. package/docs/styles/dark.css +16 -0
  153. package/docs/template-playground/hbs-render.service.ts +6 -1
  154. package/fesm2022/eui-core.mjs +144 -135
  155. package/fesm2022/eui-core.mjs.map +1 -1
  156. package/package.json +11 -11
  157. package/schematics/collection.json +5 -0
  158. package/schematics/migrate/index.js +2 -1
  159. package/schematics/migrate/index.js.map +1 -1
  160. package/schematics/migrate/replacements/eui-modules.js +6 -2
  161. package/schematics/migrate/replacements/eui-modules.js.map +1 -1
  162. package/schematics/migrate-all/index.js +1 -0
  163. package/schematics/migrate-all/index.js.map +1 -1
  164. package/schematics/migrate-eui-tooltip/index.d.ts +7 -0
  165. package/schematics/migrate-eui-tooltip/index.js +263 -0
  166. package/schematics/migrate-eui-tooltip/index.js.map +1 -0
  167. package/types/eui-core.d.ts +15 -13
  168. package/types/eui-core.d.ts.map +1 -1
  169. 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"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
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>&times;</button>
94
+ </div>
95
+ <compodoc-menu></compodoc-menu>
89
96
  </div>
90
97
 
91
98
  <div class="container-fluid main">
@@ -120,6 +127,11 @@
120
127
  SelectorEntry</li>
121
128
  </ol>
122
129
 
130
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
131
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
132
+ <code>packages/core/schematics/add-eui-imports/selector-map.ts</code>
133
+ </div>
134
+
123
135
  <ul class="nav nav-tabs" role="tablist">
124
136
  <li class="nav-item">
125
137
  <a href="#info"
@@ -127,17 +139,16 @@
127
139
  class="nav-link active"
128
140
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
129
141
  </li>
142
+ <li class="nav-item">
143
+ <a href="#api"
144
+ class="nav-link"
145
+
146
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
147
+ </li>
130
148
  </ul>
131
149
 
132
150
  <div class="tab-content">
133
151
  <div class="tab-pane fade active in" id="info">
134
- <p class="comment">
135
- <h3>File</h3>
136
- </p>
137
- <p class="comment">
138
- <code>packages/core/schematics/add-eui-imports/selector-map.ts</code>
139
- </p>
140
-
141
152
 
142
153
  <p class="comment">
143
154
  <h3>Description</h3>
@@ -149,256 +160,256 @@ Each entry contains a parsed compound selector and the corresponding import meta
149
160
  </p>
150
161
 
151
162
 
152
- <section data-compodoc="block-index">
153
- <h3 id="index">Index</h3>
154
- <table class="table table-sm table-bordered index-table">
163
+ </div>
164
+
165
+ <div class="tab-pane fade " id="api"><section data-compodoc="block-index">
166
+ <h3 id="index">Index</h3>
167
+ <table class="table table-sm table-bordered index-table">
168
+ <tbody>
169
+ <tr>
170
+ <td class="col-md-3">
171
+ <h6><b>Properties</b></h6>
172
+ </td>
173
+ <td class="col-md-9">
174
+ <ul class="index-list">
175
+ <li>
176
+ <a href="#attributes" class="reference-link ">
177
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">attributes</span>
178
+ </a>
179
+ </li>
180
+ <li>
181
+ <a href="#classArray" class="reference-link ">
182
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">classArray</span>
183
+ </a>
184
+ </li>
185
+ <li>
186
+ <a href="#className" class="reference-link ">
187
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">className</span>
188
+ </a>
189
+ </li>
190
+ <li>
191
+ <a href="#element" class="reference-link ">
192
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">element</span>
193
+ </a>
194
+ </li>
195
+ <li>
196
+ <a href="#importPath" class="reference-link ">
197
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">importPath</span>
198
+ </a>
199
+ </li>
200
+ </ul>
201
+ </td>
202
+ </tr>
203
+ </tbody>
204
+ </table>
205
+ </section>
206
+
207
+
208
+
209
+ <section data-compodoc="block-properties">
210
+ <h3 id="inputs">Properties</h3>
211
+ <table class="table table-sm table-bordered">
155
212
  <tbody>
156
- <tr>
157
- <td class="col-md-4">
158
- <h6><b>Properties</b></h6>
159
- </td>
160
- </tr>
161
- <tr>
162
- <td class="col-md-4">
163
- <ul class="index-list">
164
- <li>
165
- <a href="#attributes"
166
- >
167
- attributes
168
- </a>
169
- </li>
170
- <li>
171
- <a href="#classArray"
172
- >
173
- classArray
174
- </a>
175
- </li>
176
- <li>
177
- <a href="#className"
178
- >
179
- className
180
- </a>
181
- </li>
182
- <li>
183
- <a href="#element"
184
- >
185
- element
186
- </a>
187
- </li>
188
- <li>
189
- <a href="#importPath"
190
- >
191
- importPath
192
- </a>
193
- </li>
194
- </ul>
195
- </td>
196
- </tr>
197
- </tbody>
198
- </table>
199
- </section>
200
-
201
-
202
-
203
- <section data-compodoc="block-properties">
204
- <h3 id="inputs">Properties</h3>
205
- <table class="table table-sm table-bordered">
206
- <tbody>
207
- <tr>
208
- <td class="col-md-4">
209
- <a name="attributes"></a>
210
- <span class="name "><b>attributes</b>
211
- <a href="#attributes">
212
- <span class="icon ion-ios-link"></span>
213
- </a>
214
- </span>
215
- </td>
216
- </tr>
217
- <tr>
218
- <td class="col-md-4">
219
- <code>attributes: <code>string[]</code>
213
+ <tr>
214
+ <td class="col-md-4">
215
+ <a name="attributes"></a>
216
+ <span class="name "><b>attributes</b>
217
+ <a href="#attributes">
218
+ <span class="icon ion-ios-link"></span>
219
+ </a>
220
+ </span>
221
+ </td>
222
+ </tr>
223
+ <tr>
224
+ <td class="col-md-4">
225
+ <code>attributes: <code>string[]</code>
220
226
  </code>
221
- </td>
222
- </tr>
227
+ </td>
228
+ </tr>
229
+
230
+
231
+ <tr>
232
+ <td class="col-md-4">
233
+ <i>Type : </i> <code>string[]</code>
234
+
235
+ </td>
236
+ </tr>
223
237
 
224
238
 
225
- <tr>
226
- <td class="col-md-4">
227
- <i>Type : </i> <code>string[]</code>
228
239
 
229
- </td>
230
- </tr>
231
240
 
232
241
 
233
242
 
243
+ <tr>
244
+ <td class="col-md-4">
245
+ <div class="io-description"><p>Attribute selectors that must ALL be present</p>
246
+ </div>
247
+ </td>
248
+ </tr>
249
+ </tbody>
250
+ </table>
251
+ <table class="table table-sm table-bordered">
252
+ <tbody>
253
+ <tr>
254
+ <td class="col-md-4">
255
+ <a name="classArray"></a>
256
+ <span class="name "><b>classArray</b>
257
+ <a href="#classArray">
258
+ <span class="icon ion-ios-link"></span>
259
+ </a>
260
+ </span>
261
+ </td>
262
+ </tr>
263
+ <tr>
264
+ <td class="col-md-4">
265
+ <code>classArray: <code>string | null</code>
266
+ </code>
267
+ </td>
268
+ </tr>
234
269
 
235
270
 
236
271
  <tr>
237
272
  <td class="col-md-4">
238
- <div class="io-description"><p>Attribute selectors that must ALL be present</p>
239
- </div>
273
+ <i>Type : </i> <code>string | null</code>
274
+
240
275
  </td>
241
276
  </tr>
242
- </tbody>
243
- </table>
244
- <table class="table table-sm table-bordered">
245
- <tbody>
246
- <tr>
247
- <td class="col-md-4">
248
- <a name="classArray"></a>
249
- <span class="name "><b>classArray</b>
250
- <a href="#classArray">
251
- <span class="icon ion-ios-link"></span>
252
- </a>
253
- </span>
254
- </td>
255
- </tr>
256
- <tr>
257
- <td class="col-md-4">
258
- <code>classArray: <code>string | null</code>
259
- </code>
260
- </td>
261
- </tr>
262
277
 
263
278
 
264
- <tr>
265
- <td class="col-md-4">
266
- <i>Type : </i> <code>string | null</code>
267
279
 
268
- </td>
269
- </tr>
270
280
 
271
281
 
272
282
 
283
+ <tr>
284
+ <td class="col-md-4">
285
+ <div class="io-description"><p>The CLASS array constant name (null if none exists)</p>
286
+ </div>
287
+ </td>
288
+ </tr>
289
+ </tbody>
290
+ </table>
291
+ <table class="table table-sm table-bordered">
292
+ <tbody>
293
+ <tr>
294
+ <td class="col-md-4">
295
+ <a name="className"></a>
296
+ <span class="name "><b>className</b>
297
+ <a href="#className">
298
+ <span class="icon ion-ios-link"></span>
299
+ </a>
300
+ </span>
301
+ </td>
302
+ </tr>
303
+ <tr>
304
+ <td class="col-md-4">
305
+ <code>className: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
306
+ </code>
307
+ </td>
308
+ </tr>
273
309
 
274
310
 
275
311
  <tr>
276
312
  <td class="col-md-4">
277
- <div class="io-description"><p>The CLASS array constant name (null if none exists)</p>
278
- </div>
313
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
314
+
279
315
  </td>
280
316
  </tr>
281
- </tbody>
282
- </table>
283
- <table class="table table-sm table-bordered">
284
- <tbody>
285
- <tr>
286
- <td class="col-md-4">
287
- <a name="className"></a>
288
- <span class="name "><b>className</b>
289
- <a href="#className">
290
- <span class="icon ion-ios-link"></span>
291
- </a>
292
- </span>
293
- </td>
294
- </tr>
295
- <tr>
296
- <td class="col-md-4">
297
- <code>className: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
298
- </code>
299
- </td>
300
- </tr>
301
317
 
302
318
 
303
- <tr>
304
- <td class="col-md-4">
305
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
306
319
 
307
- </td>
308
- </tr>
309
320
 
310
321
 
311
322
 
323
+ <tr>
324
+ <td class="col-md-4">
325
+ <div class="io-description"><p>The Angular class name</p>
326
+ </div>
327
+ </td>
328
+ </tr>
329
+ </tbody>
330
+ </table>
331
+ <table class="table table-sm table-bordered">
332
+ <tbody>
333
+ <tr>
334
+ <td class="col-md-4">
335
+ <a name="element"></a>
336
+ <span class="name "><b>element</b>
337
+ <a href="#element">
338
+ <span class="icon ion-ios-link"></span>
339
+ </a>
340
+ </span>
341
+ </td>
342
+ </tr>
343
+ <tr>
344
+ <td class="col-md-4">
345
+ <code>element: <code>string | null</code>
346
+ </code>
347
+ </td>
348
+ </tr>
312
349
 
313
350
 
314
351
  <tr>
315
352
  <td class="col-md-4">
316
- <div class="io-description"><p>The Angular class name</p>
317
- </div>
353
+ <i>Type : </i> <code>string | null</code>
354
+
318
355
  </td>
319
356
  </tr>
320
- </tbody>
321
- </table>
322
- <table class="table table-sm table-bordered">
323
- <tbody>
324
- <tr>
325
- <td class="col-md-4">
326
- <a name="element"></a>
327
- <span class="name "><b>element</b>
328
- <a href="#element">
329
- <span class="icon ion-ios-link"></span>
330
- </a>
331
- </span>
332
- </td>
333
- </tr>
334
- <tr>
335
- <td class="col-md-4">
336
- <code>element: <code>string | null</code>
337
- </code>
338
- </td>
339
- </tr>
340
357
 
341
358
 
342
- <tr>
343
- <td class="col-md-4">
344
- <i>Type : </i> <code>string | null</code>
345
359
 
346
- </td>
347
- </tr>
348
360
 
349
361
 
350
362
 
363
+ <tr>
364
+ <td class="col-md-4">
365
+ <div class="io-description"><p>Element tag required (null = any element)</p>
366
+ </div>
367
+ </td>
368
+ </tr>
369
+ </tbody>
370
+ </table>
371
+ <table class="table table-sm table-bordered">
372
+ <tbody>
373
+ <tr>
374
+ <td class="col-md-4">
375
+ <a name="importPath"></a>
376
+ <span class="name "><b>importPath</b>
377
+ <a href="#importPath">
378
+ <span class="icon ion-ios-link"></span>
379
+ </a>
380
+ </span>
381
+ </td>
382
+ </tr>
383
+ <tr>
384
+ <td class="col-md-4">
385
+ <code>importPath: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
386
+ </code>
387
+ </td>
388
+ </tr>
351
389
 
352
390
 
353
391
  <tr>
354
392
  <td class="col-md-4">
355
- <div class="io-description"><p>Element tag required (null = any element)</p>
356
- </div>
393
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
394
+
357
395
  </td>
358
396
  </tr>
359
- </tbody>
360
- </table>
361
- <table class="table table-sm table-bordered">
362
- <tbody>
363
- <tr>
364
- <td class="col-md-4">
365
- <a name="importPath"></a>
366
- <span class="name "><b>importPath</b>
367
- <a href="#importPath">
368
- <span class="icon ion-ios-link"></span>
369
- </a>
370
- </span>
371
- </td>
372
- </tr>
373
- <tr>
374
- <td class="col-md-4">
375
- <code>importPath: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
376
- </code>
377
- </td>
378
- </tr>
379
397
 
380
398
 
381
- <tr>
382
- <td class="col-md-4">
383
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
384
399
 
385
- </td>
386
- </tr>
387
400
 
388
401
 
389
402
 
390
-
391
-
392
- <tr>
393
- <td class="col-md-4">
394
- <div class="io-description"><p>The ES import path</p>
403
+ <tr>
404
+ <td class="col-md-4">
405
+ <div class="io-description"><p>The ES import path</p>
406
+ </div>
407
+ </td>
408
+ </tr>
409
+ </tbody>
410
+ </table>
411
+ </section>
395
412
  </div>
396
- </td>
397
- </tr>
398
- </tbody>
399
- </table>
400
- </section>
401
- </div>
402
413
 
403
414
 
404
415
  </div>
@@ -442,6 +453,24 @@ Each entry contains a parsed compound selector and the corresponding import meta
442
453
 
443
454
  <script>
444
455
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
456
+ var updateDarkModeSwitchOffset = function () {
457
+ var content = document.querySelector('.content');
458
+ var scrollbarWidth = 0;
459
+
460
+ if (content) {
461
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
462
+ }
463
+
464
+ document.documentElement.style.setProperty(
465
+ '--content-scrollbar-width',
466
+ scrollbarWidth + 'px'
467
+ );
468
+ };
469
+
470
+ updateDarkModeSwitchOffset();
471
+ requestAnimationFrame(updateDarkModeSwitchOffset);
472
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
473
+
445
474
  checkToggle(darkModeState);
446
475
  if ($darkModeToggleSwitchers.length > 0) {
447
476
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -457,7 +486,6 @@ Each entry contains a parsed compound selector and the corresponding import meta
457
486
  <script src="../js/libs/lit-html.js"></script>
458
487
 
459
488
  <script src="../js/menu-wc.js" defer></script>
460
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
461
489
 
462
490
  <script src="../js/libs/bootstrap-native.js"></script>
463
491