@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.
Files changed (156) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/docs/architecture.html +223 -0
  3. package/docs/changelog.html +126 -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 +50 -17
  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/TranslateServiceMock.html +90 -35
  23. package/docs/classes/UpdateAppConnectionAction.html +67 -17
  24. package/docs/classes/UpdateAppStatusAction.html +67 -17
  25. package/docs/classes/UpdateAppVersionAction.html +67 -17
  26. package/docs/classes/UpdateCurrentModuleAction.html +67 -17
  27. package/docs/classes/UpdateI18nStateAction.html +67 -17
  28. package/docs/classes/UpdateLocaleStateAction.html +67 -17
  29. package/docs/classes/UpdateNotificationsListAction.html +67 -17
  30. package/docs/classes/UpdateUserDashboardAction.html +67 -17
  31. package/docs/classes/UpdateUserDetailsAction.html +67 -17
  32. package/docs/classes/UpdateUserPreferencesAction.html +67 -17
  33. package/docs/classes/UpdateUserRightsAction.html +67 -17
  34. package/docs/classes/UpdateUserStateAction.html +67 -17
  35. package/docs/dependencies.html +38 -4
  36. package/docs/directives/TranslateMockDirective.html +72 -19
  37. package/docs/index.html +26 -2
  38. package/docs/injectables/ApiQueueService.html +97 -20
  39. package/docs/injectables/EuiAppShellService.html +147 -68
  40. package/docs/injectables/EuiDynamicComponentService.html +51 -18
  41. package/docs/injectables/EuiDynamicMenuService.html +67 -20
  42. package/docs/injectables/EuiGrowlService.html +85 -21
  43. package/docs/injectables/EuiLoaderService.html +65 -17
  44. package/docs/injectables/EuiPermissionService.html +95 -20
  45. package/docs/injectables/EuiThemeService.html +89 -34
  46. package/docs/injectables/EuiTimezoneService.html +51 -16
  47. package/docs/injectables/GlobalErrorHandler.html +79 -17
  48. package/docs/injectables/I18nLoader.html +53 -17
  49. package/docs/injectables/I18nService.html +101 -23
  50. package/docs/injectables/I18nServiceMock.html +96 -34
  51. package/docs/injectables/LocalForageService.html +81 -21
  52. package/docs/injectables/LocalStorageService.html +78 -21
  53. package/docs/injectables/LocaleService.html +124 -41
  54. package/docs/injectables/LocaleServiceMock.html +72 -18
  55. package/docs/injectables/LogService.html +68 -17
  56. package/docs/injectables/SessionStorageService.html +78 -21
  57. package/docs/injectables/StoreService.html +91 -22
  58. package/docs/injectables/StoreServiceMock.html +72 -17
  59. package/docs/injectables/UserService.html +97 -23
  60. package/docs/injectables/UserServiceMock.html +81 -23
  61. package/docs/interceptors/AddLangParamInterceptor.html +49 -18
  62. package/docs/interceptors/CachePreventionInterceptor.html +48 -17
  63. package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
  64. package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
  65. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
  66. package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
  67. package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
  68. package/docs/interfaces/Action.html +158 -60
  69. package/docs/interfaces/ActionReducer.html +84 -55
  70. package/docs/interfaces/ComponentInfo.html +151 -123
  71. package/docs/interfaces/Dependency.html +278 -250
  72. package/docs/interfaces/Edit-1.html +151 -123
  73. package/docs/interfaces/Edit-2.html +151 -123
  74. package/docs/interfaces/Edit.html +151 -123
  75. package/docs/interfaces/EuiComponentEntry.html +230 -202
  76. package/docs/interfaces/EuiTimeZone.html +121 -93
  77. package/docs/interfaces/IEuiTheme.html +181 -153
  78. package/docs/interfaces/ImportToAdd.html +164 -136
  79. package/docs/interfaces/ImportsArrayInfo.html +121 -93
  80. package/docs/interfaces/Library.html +169 -137
  81. package/docs/interfaces/LoadedResources.html +164 -136
  82. package/docs/interfaces/LoadedResourcesError.html +121 -93
  83. package/docs/interfaces/MemoizedSelector.html +187 -138
  84. package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
  85. package/docs/interfaces/MigrateAllSchema.html +228 -200
  86. package/docs/interfaces/MigrationResult.html +151 -123
  87. package/docs/interfaces/ModuleLoadEvent.html +164 -136
  88. package/docs/interfaces/ModuleMapping.html +121 -93
  89. package/docs/interfaces/NgModuleInfo.html +151 -123
  90. package/docs/interfaces/Policy.html +164 -136
  91. package/docs/interfaces/ResourceError.html +170 -142
  92. package/docs/interfaces/Schema-1.html +140 -112
  93. package/docs/interfaces/Schema-10.html +140 -112
  94. package/docs/interfaces/Schema-11.html +140 -112
  95. package/docs/interfaces/Schema-12.html +140 -112
  96. package/docs/interfaces/Schema-13.html +140 -112
  97. package/docs/interfaces/Schema-14.html +140 -112
  98. package/docs/interfaces/Schema-15.html +140 -112
  99. package/docs/interfaces/Schema-16.html +140 -112
  100. package/docs/interfaces/Schema-17.html +140 -112
  101. package/docs/interfaces/Schema-18.html +140 -112
  102. package/docs/interfaces/Schema-19.html +140 -112
  103. package/docs/interfaces/Schema-2.html +141 -113
  104. package/docs/interfaces/Schema-20.html +140 -112
  105. package/docs/interfaces/Schema-3.html +180 -152
  106. package/docs/interfaces/Schema-4.html +140 -112
  107. package/docs/interfaces/Schema-5.html +140 -112
  108. package/docs/interfaces/Schema-6.html +140 -112
  109. package/docs/interfaces/Schema-7.html +140 -112
  110. package/docs/interfaces/Schema-8.html +140 -112
  111. package/docs/interfaces/Schema-9.html +140 -112
  112. package/docs/interfaces/Schema.html +184 -156
  113. package/docs/interfaces/SelectorEntry.html +230 -202
  114. package/docs/interfaces/TextChange.html +151 -123
  115. package/docs/interfaces/ThemeState.html +121 -93
  116. package/docs/interfaces/TranslationKeys.html +41 -11
  117. package/docs/interfaces/UIState.html +1669 -1641
  118. package/docs/interfaces/body.html +181 -153
  119. package/docs/js/architecture-graph.js +288 -0
  120. package/docs/js/libs/bootstrap-native.js +4 -2
  121. package/docs/js/libs/tablesort.min.js +3 -3
  122. package/docs/js/libs/tablesort.number.min.js +2 -2
  123. package/docs/js/libs/vis-network.min.js +7 -7
  124. package/docs/js/menu-wc.js +47 -14
  125. package/docs/js/routes.js +138 -37
  126. package/docs/js/search/search.js +62 -0
  127. package/docs/js/search/search_index.js +2 -2
  128. package/docs/js/tabs.js +98 -15
  129. package/docs/js/tree.js +44 -7
  130. package/docs/json/EuiPermissionService.md +1 -0
  131. package/docs/json/LocaleService.md +1 -0
  132. package/docs/json/documentation.json +6691 -1067
  133. package/docs/license.html +26 -2
  134. package/docs/llms.txt +2282 -0
  135. package/docs/miscellaneous/enumerations.html +34 -10
  136. package/docs/miscellaneous/functions.html +550 -394
  137. package/docs/miscellaneous/typealiases.html +59 -27
  138. package/docs/miscellaneous/variables.html +196 -175
  139. package/docs/modules/CoreModule.html +34 -9
  140. package/docs/modules/I18nModule.html +34 -9
  141. package/docs/modules/LogModule.html +34 -9
  142. package/docs/modules/TranslateMockModule.html +60 -13
  143. package/docs/modules.html +26 -2
  144. package/docs/overview.html +27 -3
  145. package/docs/pipes/TranslateMockPipe.html +87 -9
  146. package/docs/properties.html +27 -3
  147. package/docs/routes.html +26 -2
  148. package/docs/styles/compodoc.css +365 -44
  149. package/docs/styles/dark.css +16 -0
  150. package/docs/template-playground/hbs-render.service.ts +6 -1
  151. package/fesm2022/eui-core.mjs +26 -27
  152. package/fesm2022/eui-core.mjs.map +1 -1
  153. package/package.json +2 -2
  154. package/types/eui-core.d.ts +9 -11
  155. package/types/eui-core.d.ts.map +1 -1
  156. 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">
@@ -119,6 +126,11 @@
119
126
  >InitStoreAction</li>
120
127
  </ol>
121
128
 
129
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
130
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
131
+ <code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
132
+ </div>
133
+
122
134
  <ul class="nav nav-tabs" role="tablist">
123
135
  <li class="nav-item">
124
136
  <a href="#info"
@@ -126,17 +138,16 @@
126
138
  class="nav-link active"
127
139
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
128
140
  </li>
141
+ <li class="nav-item">
142
+ <a href="#api"
143
+ class="nav-link"
144
+
145
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
146
+ </li>
129
147
  </ul>
130
148
 
131
149
  <div class="tab-content">
132
150
  <div class="tab-pane fade active in" id="info">
133
- <p class="comment">
134
- <h3>File</h3>
135
- </p>
136
- <p class="comment">
137
- <code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
138
- </p>
139
-
140
151
  <p class="comment">
141
152
  <h3 class="deprecated">Deprecated</h3>
142
153
  </p>
@@ -154,36 +165,58 @@
154
165
  </p>
155
166
 
156
167
 
168
+ <section data-compodoc="block-relationships">
169
+ <h3>Relationships</h3>
170
+
171
+ <div class="row pt-3">
172
+ <div class="col-sm-6">
173
+ <h4>Used by</h4>
174
+ <p class="comment"><i>No results matching.</i></p>
175
+ </div>
176
+
177
+ <div class="col-sm-6">
178
+ <h4>Depends on</h4>
179
+ <ul class="list-unstyled relationships-list">
180
+ <li>
181
+ <code><a href="../interfaces/Action.html" target="_self" >Action</a></code>
182
+ </li>
183
+ </ul>
184
+ </div>
185
+ </div>
186
+ </section>
187
+ </div>
188
+
189
+ <div class="tab-pane fade " id="api">
157
190
  <section data-compodoc="block-index">
158
191
  <h3 id="index">Index</h3>
159
- <table class="table table-sm table-bordered index-table">
160
- <tbody>
192
+ <table class="table table-sm table-bordered index-table">
193
+ <tbody>
161
194
  <tr>
162
- <td class="col-md-4">
195
+ <td class="col-md-3">
163
196
  <h6><b>Properties</b></h6>
164
197
  </td>
165
- </tr>
166
- <tr>
167
- <td class="col-md-4">
198
+ <td class="col-md-9">
168
199
  <ul class="index-list">
169
200
  <li>
201
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
170
202
  <span class="modifier">Public</span>
171
203
  <a href="#payload" >payload</a>
172
204
  </li>
173
205
  <li>
206
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
174
207
  <a href="#type" >type</a>
175
208
  </li>
176
209
  </ul>
177
210
  </td>
178
211
  </tr>
212
+ </tbody>
213
+ </table>
179
214
 
180
215
 
181
216
 
182
217
 
183
218
 
184
219
 
185
- </tbody>
186
- </table>
187
220
  </section>
188
221
 
189
222
  <section data-compodoc="block-constructor">
@@ -192,7 +225,7 @@
192
225
  <tbody>
193
226
  <tr>
194
227
  <td class="col-md-4">
195
- <code>constructor(payload: literal type)</code>
228
+ <code>constructor(payload: { version?: string })</code>
196
229
  </td>
197
230
  </tr>
198
231
 
@@ -213,7 +246,7 @@
213
246
  <td>payload</td>
214
247
 
215
248
  <td>
216
- <code>literal type</code>
249
+ <code>{ version?: string }</code>
217
250
  </td>
218
251
 
219
252
  <td>
@@ -249,7 +282,7 @@
249
282
  </tr>
250
283
  <tr>
251
284
  <td class="col-md-4">
252
- <i>Type : </i> <code>literal type</code>
285
+ <i>Type : </i> <code>{ version?: string }</code>
253
286
 
254
287
  </td>
255
288
  </tr>
@@ -336,6 +369,24 @@
336
369
 
337
370
  <script>
338
371
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
372
+ var updateDarkModeSwitchOffset = function () {
373
+ var content = document.querySelector('.content');
374
+ var scrollbarWidth = 0;
375
+
376
+ if (content) {
377
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
378
+ }
379
+
380
+ document.documentElement.style.setProperty(
381
+ '--content-scrollbar-width',
382
+ scrollbarWidth + 'px'
383
+ );
384
+ };
385
+
386
+ updateDarkModeSwitchOffset();
387
+ requestAnimationFrame(updateDarkModeSwitchOffset);
388
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
389
+
339
390
  checkToggle(darkModeState);
340
391
  if ($darkModeToggleSwitchers.length > 0) {
341
392
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -351,7 +402,6 @@
351
402
  <script src="../js/libs/lit-html.js"></script>
352
403
 
353
404
  <script src="../js/menu-wc.js" defer></script>
354
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
355
405
 
356
406
  <script src="../js/libs/bootstrap-native.js"></script>
357
407
 
@@ -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">
@@ -117,6 +124,11 @@
117
124
  <li class="breadcrumb-item" >LogServiceMock</li>
118
125
  </ol>
119
126
 
127
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
128
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
129
+ <code>packages/core/src/lib/services/log/log.service.mock.ts</code>
130
+ </div>
131
+
120
132
  <ul class="nav nav-tabs" role="tablist">
121
133
  <li class="nav-item">
122
134
  <a href="#info"
@@ -124,17 +136,16 @@
124
136
  class="nav-link active"
125
137
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
126
138
  </li>
139
+ <li class="nav-item">
140
+ <a href="#api"
141
+ class="nav-link"
142
+
143
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
144
+ </li>
127
145
  </ul>
128
146
 
129
147
  <div class="tab-content">
130
148
  <div class="tab-pane fade active in" id="info">
131
- <p class="comment">
132
- <h3>File</h3>
133
- </p>
134
- <p class="comment">
135
- <code>packages/core/src/lib/services/log/log.service.mock.ts</code>
136
- </p>
137
-
138
149
 
139
150
 
140
151
  <p class="comment">
@@ -146,32 +157,53 @@
146
157
 
147
158
 
148
159
 
160
+ <section data-compodoc="block-relationships">
161
+ <h3>Relationships</h3>
162
+
163
+ <div class="row pt-3">
164
+ <div class="col-sm-6">
165
+ <h4>Used by</h4>
166
+ <p class="comment"><i>No results matching.</i></p>
167
+ </div>
168
+
169
+ <div class="col-sm-6">
170
+ <h4>Depends on</h4>
171
+ <ul class="list-unstyled relationships-list">
172
+ <li>
173
+ <code>LoggerMock</code>
174
+ </li>
175
+ </ul>
176
+ </div>
177
+ </div>
178
+ </section>
179
+ </div>
180
+
181
+ <div class="tab-pane fade " id="api">
149
182
  <section data-compodoc="block-index">
150
183
  <h3 id="index">Index</h3>
151
- <table class="table table-sm table-bordered index-table">
152
- <tbody>
153
184
 
185
+ <table class="table table-sm table-bordered index-table">
186
+ <tbody>
154
187
  <tr>
155
- <td class="col-md-4">
188
+ <td class="col-md-3">
156
189
  <h6><b>Methods</b></h6>
157
190
  </td>
158
- </tr>
159
- <tr>
160
- <td class="col-md-4">
191
+ <td class="col-md-9">
161
192
  <ul class="index-list">
162
193
  <li>
194
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
163
195
  <a href="#getLogger" >getLogger</a>
164
196
  </li>
165
197
  </ul>
166
198
  </td>
167
199
  </tr>
200
+ </tbody>
201
+ </table>
168
202
 
169
203
 
170
204
 
171
205
 
172
206
 
173
- </tbody>
174
- </table>
175
207
  </section>
176
208
 
177
209
 
@@ -218,6 +250,7 @@
218
250
 
219
251
 
220
252
 
253
+
221
254
  </div>
222
255
 
223
256
 
@@ -263,6 +296,24 @@
263
296
 
264
297
  <script>
265
298
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
299
+ var updateDarkModeSwitchOffset = function () {
300
+ var content = document.querySelector('.content');
301
+ var scrollbarWidth = 0;
302
+
303
+ if (content) {
304
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
305
+ }
306
+
307
+ document.documentElement.style.setProperty(
308
+ '--content-scrollbar-width',
309
+ scrollbarWidth + 'px'
310
+ );
311
+ };
312
+
313
+ updateDarkModeSwitchOffset();
314
+ requestAnimationFrame(updateDarkModeSwitchOffset);
315
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
316
+
266
317
  checkToggle(darkModeState);
267
318
  if ($darkModeToggleSwitchers.length > 0) {
268
319
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -278,7 +329,6 @@
278
329
  <script src="../js/libs/lit-html.js"></script>
279
330
 
280
331
  <script src="../js/menu-wc.js" defer></script>
281
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
282
332
 
283
333
  <script src="../js/libs/bootstrap-native.js"></script>
284
334
 
@@ -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">
@@ -119,6 +126,11 @@
119
126
  >RemoveApiQueueItemAction</li>
120
127
  </ol>
121
128
 
129
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
130
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
131
+ <code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
132
+ </div>
133
+
122
134
  <ul class="nav nav-tabs" role="tablist">
123
135
  <li class="nav-item">
124
136
  <a href="#info"
@@ -126,17 +138,16 @@
126
138
  class="nav-link active"
127
139
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
128
140
  </li>
141
+ <li class="nav-item">
142
+ <a href="#api"
143
+ class="nav-link"
144
+
145
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
146
+ </li>
129
147
  </ul>
130
148
 
131
149
  <div class="tab-content">
132
150
  <div class="tab-pane fade active in" id="info">
133
- <p class="comment">
134
- <h3>File</h3>
135
- </p>
136
- <p class="comment">
137
- <code>packages/core/src/lib/services/store/actions/app.actions.ts</code>
138
- </p>
139
-
140
151
  <p class="comment">
141
152
  <h3 class="deprecated">Deprecated</h3>
142
153
  </p>
@@ -154,36 +165,58 @@
154
165
  </p>
155
166
 
156
167
 
168
+ <section data-compodoc="block-relationships">
169
+ <h3>Relationships</h3>
170
+
171
+ <div class="row pt-3">
172
+ <div class="col-sm-6">
173
+ <h4>Used by</h4>
174
+ <p class="comment"><i>No results matching.</i></p>
175
+ </div>
176
+
177
+ <div class="col-sm-6">
178
+ <h4>Depends on</h4>
179
+ <ul class="list-unstyled relationships-list">
180
+ <li>
181
+ <code><a href="../interfaces/Action.html" target="_self" >Action</a></code>
182
+ </li>
183
+ </ul>
184
+ </div>
185
+ </div>
186
+ </section>
187
+ </div>
188
+
189
+ <div class="tab-pane fade " id="api">
157
190
  <section data-compodoc="block-index">
158
191
  <h3 id="index">Index</h3>
159
- <table class="table table-sm table-bordered index-table">
160
- <tbody>
192
+ <table class="table table-sm table-bordered index-table">
193
+ <tbody>
161
194
  <tr>
162
- <td class="col-md-4">
195
+ <td class="col-md-3">
163
196
  <h6><b>Properties</b></h6>
164
197
  </td>
165
- </tr>
166
- <tr>
167
- <td class="col-md-4">
198
+ <td class="col-md-9">
168
199
  <ul class="index-list">
169
200
  <li>
201
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
170
202
  <span class="modifier">Public</span>
171
203
  <a href="#payload" >payload</a>
172
204
  </li>
173
205
  <li>
206
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
174
207
  <a href="#type" >type</a>
175
208
  </li>
176
209
  </ul>
177
210
  </td>
178
211
  </tr>
212
+ </tbody>
213
+ </table>
179
214
 
180
215
 
181
216
 
182
217
 
183
218
 
184
219
 
185
- </tbody>
186
- </table>
187
220
  </section>
188
221
 
189
222
  <section data-compodoc="block-constructor">
@@ -336,6 +369,24 @@
336
369
 
337
370
  <script>
338
371
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
372
+ var updateDarkModeSwitchOffset = function () {
373
+ var content = document.querySelector('.content');
374
+ var scrollbarWidth = 0;
375
+
376
+ if (content) {
377
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
378
+ }
379
+
380
+ document.documentElement.style.setProperty(
381
+ '--content-scrollbar-width',
382
+ scrollbarWidth + 'px'
383
+ );
384
+ };
385
+
386
+ updateDarkModeSwitchOffset();
387
+ requestAnimationFrame(updateDarkModeSwitchOffset);
388
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
389
+
339
390
  checkToggle(darkModeState);
340
391
  if ($darkModeToggleSwitchers.length > 0) {
341
392
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -351,7 +402,6 @@
351
402
  <script src="../js/libs/lit-html.js"></script>
352
403
 
353
404
  <script src="../js/menu-wc.js" defer></script>
354
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
355
405
 
356
406
  <script src="../js/libs/bootstrap-native.js"></script>
357
407