@eui/base 23.0.0-alpha.2 → 23.0.0-alpha.3

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 (108) hide show
  1. package/docs/architecture.html +223 -0
  2. package/docs/changelog.html +87 -2
  3. package/docs/classes/ConsoleAppender.html +76 -27
  4. package/docs/classes/EuiEuLanguages.html +55 -16
  5. package/docs/classes/EuiLazyService.html +86 -25
  6. package/docs/classes/EuiPagination.html +69 -16
  7. package/docs/classes/EuiService.html +103 -28
  8. package/docs/classes/LogAppender.html +52 -20
  9. package/docs/classes/Logger.html +100 -30
  10. package/docs/classes/LoggerMock.html +92 -22
  11. package/docs/classes/UrlAppender.html +78 -24
  12. package/docs/classes/UxBadgeLegacy.html +47 -16
  13. package/docs/classes/UxClearErrorFeedbackEvent.html +47 -16
  14. package/docs/classes/UxErrorGroupOnClickEvent.html +47 -16
  15. package/docs/classes/UxErrorOutput.html +91 -24
  16. package/docs/classes/UxLinkLegacy.html +105 -31
  17. package/docs/classes/UxPublishErrorFeedbackEvent.html +49 -16
  18. package/docs/classes/UxValidationErrorClass.html +77 -18
  19. package/docs/dependencies.html +38 -4
  20. package/docs/index.html +26 -2
  21. package/docs/interfaces/ApiQueue.html +41 -11
  22. package/docs/interfaces/ApiQueueItem.html +209 -181
  23. package/docs/interfaces/AppState.html +312 -284
  24. package/docs/interfaces/ConnectionStatus.html +134 -93
  25. package/docs/interfaces/ConsoleAppenderConfig.html +206 -104
  26. package/docs/interfaces/ConsoleAppenderTypeConfig.html +253 -53
  27. package/docs/interfaces/CoreState.html +272 -244
  28. package/docs/interfaces/EnvDynamicConfig.html +218 -190
  29. package/docs/interfaces/EuiAppHandlersConfig.html +229 -201
  30. package/docs/interfaces/EuiAppJsonConfig.html +171 -143
  31. package/docs/interfaces/EuiAuthConfig.html +184 -156
  32. package/docs/interfaces/EuiConfig.html +131 -103
  33. package/docs/interfaces/EuiEnvConfig.html +180 -152
  34. package/docs/interfaces/EuiGlobalConfig.html +140 -112
  35. package/docs/interfaces/EuiGrowlMessage.html +408 -380
  36. package/docs/interfaces/EuiLanguage.html +169 -141
  37. package/docs/interfaces/EuiMenuItem.html +1708 -1653
  38. package/docs/interfaces/EuiPaginationConfig.html +228 -200
  39. package/docs/interfaces/EuiServiceModel.html +109 -67
  40. package/docs/interfaces/EuiServiceStatus.html +138 -108
  41. package/docs/interfaces/EuiStoreServiceModel.html +64 -36
  42. package/docs/interfaces/EuiUserRight.html +127 -99
  43. package/docs/interfaces/GlobalConfig.html +268 -240
  44. package/docs/interfaces/HttpErrorHandlerConfig.html +96 -68
  45. package/docs/interfaces/HttpErrorRouteConfig.html +136 -108
  46. package/docs/interfaces/I18nConfig.html +157 -129
  47. package/docs/interfaces/I18nLoaderConfig.html +199 -152
  48. package/docs/interfaces/I18nResource.html +176 -148
  49. package/docs/interfaces/I18nServiceConfig.html +141 -113
  50. package/docs/interfaces/I18nState.html +91 -63
  51. package/docs/interfaces/LoadedConfigModules.html +137 -107
  52. package/docs/interfaces/LocaleServiceConfig.html +102 -74
  53. package/docs/interfaces/LocaleState.html +96 -68
  54. package/docs/interfaces/LogAppenderConfig.html +123 -70
  55. package/docs/interfaces/LogAppenderTypeConfig.html +159 -61
  56. package/docs/interfaces/LogConfig.html +196 -149
  57. package/docs/interfaces/LogEvent.html +246 -199
  58. package/docs/interfaces/LogPosition.html +151 -123
  59. package/docs/interfaces/ModuleConfig.html +236 -12
  60. package/docs/interfaces/ModulesConfig.html +41 -11
  61. package/docs/interfaces/NotificationsState.html +98 -70
  62. package/docs/interfaces/UrlAppenderConfig.html +200 -98
  63. package/docs/interfaces/UrlAppenderTypeConfig.html +247 -53
  64. package/docs/interfaces/UrlLogEvent.html +368 -96
  65. package/docs/interfaces/UserConfig.html +97 -69
  66. package/docs/interfaces/UserDetails.html +237 -190
  67. package/docs/interfaces/UserPreferences.html +141 -113
  68. package/docs/interfaces/UserState.html +326 -279
  69. package/docs/interfaces/UxErrorFeedback.html +373 -235
  70. package/docs/interfaces/UxErrorFollowMap.html +41 -11
  71. package/docs/interfaces/UxErrorInfo.html +201 -151
  72. package/docs/interfaces/UxErrorMessage.html +149 -102
  73. package/docs/interfaces/UxFormValidationError.html +91 -63
  74. package/docs/interfaces/UxHttpErrorInfo.html +112 -65
  75. package/docs/interfaces/UxHttpErrorResponse.html +108 -61
  76. package/docs/interfaces/UxModalLegacy.html +164 -136
  77. package/docs/interfaces/UxValidationErrorAttribute.html +121 -93
  78. package/docs/interfaces/UxValidationErrorFeedback.html +126 -98
  79. package/docs/interfaces/UxValidationErrorI18nMessage.html +127 -99
  80. package/docs/interfaces/VersionsConfig.html +96 -68
  81. package/docs/interfaces/XHRConfig.html +346 -318
  82. package/docs/js/architecture-graph.js +288 -0
  83. package/docs/js/libs/bootstrap-native.js +4 -2
  84. package/docs/js/libs/tablesort.min.js +3 -3
  85. package/docs/js/libs/tablesort.number.min.js +2 -2
  86. package/docs/js/libs/vis-network.min.js +7 -7
  87. package/docs/js/menu-wc.js +30 -23
  88. package/docs/js/routes.js +138 -37
  89. package/docs/js/search/search.js +62 -0
  90. package/docs/js/search/search_index.js +2 -2
  91. package/docs/js/tabs.js +98 -15
  92. package/docs/js/tree.js +44 -7
  93. package/docs/json/documentation.json +3154 -482
  94. package/docs/license.html +26 -2
  95. package/docs/llms.txt +1084 -0
  96. package/docs/miscellaneous/enumerations.html +30 -6
  97. package/docs/miscellaneous/functions.html +138 -27
  98. package/docs/miscellaneous/typealiases.html +62 -29
  99. package/docs/miscellaneous/variables.html +77 -53
  100. package/docs/modules.html +26 -2
  101. package/docs/overview.html +26 -2
  102. package/docs/properties.html +27 -3
  103. package/docs/routes.html +26 -2
  104. package/docs/styles/compodoc.css +365 -44
  105. package/docs/styles/dark.css +16 -0
  106. package/docs/template-playground/hbs-render.service.ts +6 -1
  107. package/package.json +1 -1
  108. 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">
@@ -117,9 +124,14 @@
117
124
  <li class="breadcrumb-item">Interfaces</li>
118
125
  <li class="breadcrumb-item"
119
126
  >
120
- EuiServiceModel</li>
127
+ EuiServiceModel&lt;T&gt;</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/base/src/lib/eui-models/eui-service.model.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,76 +139,88 @@
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/base/src/lib/eui-models/eui-service.model.ts</code>
139
- </p>
140
152
 
141
153
 
142
154
 
155
+ <section data-compodoc="block-relationships">
156
+ <h3>Relationships</h3>
143
157
 
144
- <section data-compodoc="block-index">
145
- <h3 id="index">Index</h3>
146
- <table class="table table-sm table-bordered index-table">
147
- <tbody>
148
- <tr>
149
- <td class="col-md-4">
150
- <h6><b>Methods</b></h6>
151
- </td>
152
- </tr>
153
- <tr>
154
- <td class="col-md-4">
155
- <ul class="index-list">
156
- <li>
157
- <a href="#getState"
158
- >
159
- getState
160
- </a>
161
- </li>
162
- <li>
163
- <a href="#getState"
164
- >
165
- getState
166
- </a>
167
- </li>
168
- <li>
169
- <a href="#getState"
170
- >
171
- getState
172
- </a>
173
- </li>
174
- <li>
175
- <a href="#getState"
176
- >
177
- getState
178
- </a>
179
- </li>
180
- <li>
181
- <a href="#init"
182
- >
183
- init
184
- </a>
185
- </li>
158
+ <div class="row pt-3">
159
+ <div class="col-sm-6">
160
+ <h4>Used by</h4>
161
+ <ul class="list-unstyled relationships-list">
186
162
  <li>
187
- <a href="#updateState"
188
- >
189
- updateState
190
- </a>
163
+ <code><a href="../classes/EuiService.html" target="_self" >EuiService</a></code>
191
164
  </li>
192
- </ul>
193
- </td>
194
- </tr>
195
- </tbody>
196
- </table>
165
+ </ul>
166
+ </div>
167
+
168
+ <div class="col-sm-6">
169
+ <h4>Depends on</h4>
170
+ <p class="comment"><i>No results matching.</i></p>
171
+ </div>
172
+ </div>
197
173
  </section>
174
+ </div>
198
175
 
199
- <section data-compodoc="block-methods">
176
+ <div class="tab-pane fade " id="api"><section data-compodoc="block-index">
177
+ <h3 id="index">Index</h3>
178
+ <table class="table table-sm table-bordered index-table">
179
+ <tbody>
180
+ <tr>
181
+ <td class="col-md-3">
182
+ <h6><b>Methods</b></h6>
183
+ </td>
184
+ <td class="col-md-9">
185
+ <ul class="index-list">
186
+ <li>
187
+ <a href="#getState" class="reference-link ">
188
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
189
+ </a>
190
+ </li>
191
+ <li>
192
+ <a href="#getState" class="reference-link ">
193
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
194
+ </a>
195
+ </li>
196
+ <li>
197
+ <a href="#getState" class="reference-link ">
198
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
199
+ </a>
200
+ </li>
201
+ <li>
202
+ <a href="#getState" class="reference-link ">
203
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">getState</span>
204
+ </a>
205
+ </li>
206
+ <li>
207
+ <a href="#init" class="reference-link ">
208
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">init</span>
209
+ </a>
210
+ </li>
211
+ <li>
212
+ <a href="#updateState" class="reference-link ">
213
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span><span class="reference-link-label">updateState</span>
214
+ </a>
215
+ </li>
216
+ </ul>
217
+ </td>
218
+ </tr>
219
+ </tbody>
220
+ </table>
221
+ </section>
222
+
223
+ <section data-compodoc="block-methods">
200
224
 
201
225
  <h3 id="methods">
202
226
  Methods
@@ -214,7 +238,7 @@
214
238
  </tr>
215
239
  <tr>
216
240
  <td class="col-md-4">
217
- <code>getState()</code>
241
+ <code>getState&lt;K&gt;()</code>
218
242
  </td>
219
243
  </tr>
220
244
 
@@ -257,7 +281,7 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
257
281
  </tr>
258
282
  <tr>
259
283
  <td class="col-md-4">
260
- <code>getState(mapFn: (state: T) => void)</code>
284
+ <code>getState&lt;K&gt;(mapFn: (state: T) => void)</code>
261
285
  </td>
262
286
  </tr>
263
287
 
@@ -326,7 +350,7 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
326
350
  </tr>
327
351
  <tr>
328
352
  <td class="col-md-4">
329
- <code>getState(key: A)</code>
353
+ <code>getState&lt;A&gt;(key: A)</code>
330
354
  </td>
331
355
  </tr>
332
356
 
@@ -372,7 +396,7 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
372
396
  </table>
373
397
  </div>
374
398
  <div class="io-description">
375
- <b>Returns : </b> <code>Observable&lt;unknown&gt;</code>
399
+ <b>Returns : </b> <code>Observable&lt;T[&#x27;A&#x27;]&gt;</code>
376
400
 
377
401
  </div>
378
402
  <div class="io-description">
@@ -395,7 +419,7 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
395
419
  </tr>
396
420
  <tr>
397
421
  <td class="col-md-4">
398
- <code>getState(keyOrMapFn?: unknown | string)</code>
422
+ <code>getState&lt;K&gt;(keyOrMapFn?: unknown | string)</code>
399
423
  </td>
400
424
  </tr>
401
425
 
@@ -575,7 +599,8 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
575
599
  </table>
576
600
  </section>
577
601
 
578
- </div>
602
+
603
+ </div>
579
604
 
580
605
 
581
606
  </div>
@@ -619,6 +644,24 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
619
644
 
620
645
  <script>
621
646
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
647
+ var updateDarkModeSwitchOffset = function () {
648
+ var content = document.querySelector('.content');
649
+ var scrollbarWidth = 0;
650
+
651
+ if (content) {
652
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
653
+ }
654
+
655
+ document.documentElement.style.setProperty(
656
+ '--content-scrollbar-width',
657
+ scrollbarWidth + 'px'
658
+ );
659
+ };
660
+
661
+ updateDarkModeSwitchOffset();
662
+ requestAnimationFrame(updateDarkModeSwitchOffset);
663
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
664
+
622
665
  checkToggle(darkModeState);
623
666
  if ($darkModeToggleSwitchers.length > 0) {
624
667
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -634,7 +677,6 @@ you pass a string that&#39;s a key of the Service State type it will retrieve th
634
677
  <script src="../js/libs/lit-html.js"></script>
635
678
 
636
679
  <script src="../js/menu-wc.js" defer></script>
637
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
638
680
 
639
681
  <script src="../js/libs/bootstrap-native.js"></script>
640
682
 
@@ -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,9 +124,14 @@
117
124
  <li class="breadcrumb-item">Interfaces</li>
118
125
  <li class="breadcrumb-item"
119
126
  >
120
- EuiServiceStatus</li>
127
+ EuiServiceStatus&lt;T &#x3D; unknown&gt;</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/base/src/lib/eui-models/eui-service.model.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/base/src/lib/eui-models/eui-service.model.ts</code>
139
- </p>
140
-
141
152
 
142
153
  <p class="comment">
143
154
  <h3>Description</h3>
@@ -145,120 +156,122 @@
145
156
  <p class="comment">
146
157
  <p>EuiServiceStatus is a model that represents the status of the service. It has a boolean property that indicates
147
158
  whether the service was successful or not. If the service was not successful it will have an error property that
148
- contains the error message.</p>
159
+ contains the error message.
160
+ success a boolean property that indicates whether the service was successful or not
161
+ error an optional property that contains the error message</p>
149
162
 
150
163
  </p>
151
164
 
152
165
 
153
- <section data-compodoc="block-index">
154
- <h3 id="index">Index</h3>
155
- <table class="table table-sm table-bordered index-table">
166
+ </div>
167
+
168
+ <div class="tab-pane fade " id="api"><section data-compodoc="block-index">
169
+ <h3 id="index">Index</h3>
170
+ <table class="table table-sm table-bordered index-table">
171
+ <tbody>
172
+ <tr>
173
+ <td class="col-md-3">
174
+ <h6><b>Properties</b></h6>
175
+ </td>
176
+ <td class="col-md-9">
177
+ <ul class="index-list">
178
+ <li>
179
+ <span class="modifier">Optional</span>
180
+ <a href="#error" class="reference-link ">
181
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">error</span>
182
+ </a>
183
+ </li>
184
+ <li>
185
+ <a href="#success" class="reference-link ">
186
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">success</span>
187
+ </a>
188
+ </li>
189
+ </ul>
190
+ </td>
191
+ </tr>
192
+ </tbody>
193
+ </table>
194
+ </section>
195
+
196
+
197
+
198
+ <section data-compodoc="block-properties">
199
+ <h3 id="inputs">Properties</h3>
200
+ <table class="table table-sm table-bordered">
156
201
  <tbody>
157
- <tr>
158
- <td class="col-md-4">
159
- <h6><b>Properties</b></h6>
160
- </td>
161
- </tr>
162
- <tr>
163
- <td class="col-md-4">
164
- <ul class="index-list">
165
- <li>
166
- <span class="modifier">Optional</span>
167
- <a href="#error"
168
- >
169
- error
170
- </a>
171
- </li>
172
- <li>
173
- <a href="#success"
174
- >
175
- success
176
- </a>
177
- </li>
178
- </ul>
179
- </td>
180
- </tr>
202
+ <tr>
203
+ <td class="col-md-4">
204
+ <a name="error"></a>
205
+ <span class="name "><b>error</b>
206
+ <a href="#error">
207
+ <span class="icon ion-ios-link"></span>
208
+ </a>
209
+ </span>
210
+ </td>
211
+ </tr>
212
+ <tr>
213
+ <td class="col-md-4">
214
+ <code>error: <code>T</code>
215
+ </code>
216
+ </td>
217
+ </tr>
218
+
219
+
220
+ <tr>
221
+ <td class="col-md-4">
222
+ <i>Type : </i> <code>T</code>
223
+
224
+ </td>
225
+ </tr>
226
+
227
+
228
+ <tr>
229
+ <td class="col-md-4">
230
+ <i>Optional</i>
231
+ </td>
232
+ </tr>
233
+
234
+
235
+
236
+
181
237
  </tbody>
182
238
  </table>
183
- </section>
184
-
185
-
186
-
187
- <section data-compodoc="block-properties">
188
- <h3 id="inputs">Properties</h3>
189
- <table class="table table-sm table-bordered">
190
- <tbody>
191
- <tr>
192
- <td class="col-md-4">
193
- <a name="error"></a>
194
- <span class="name "><b>error</b>
195
- <a href="#error">
196
- <span class="icon ion-ios-link"></span>
197
- </a>
198
- </span>
199
- </td>
200
- </tr>
201
- <tr>
202
- <td class="col-md-4">
203
- <code>error: <code>T</code>
204
- </code>
205
- </td>
206
- </tr>
207
-
208
-
209
- <tr>
210
- <td class="col-md-4">
211
- <i>Type : </i> <code>T</code>
212
-
213
- </td>
214
- </tr>
215
-
216
- <tr>
217
- <td class="col-md-4">
218
- <i>Optional</i>
219
- </td>
220
- </tr>
221
-
222
-
223
-
224
-
225
- </tbody>
226
- </table>
227
- <table class="table table-sm table-bordered">
228
- <tbody>
229
- <tr>
230
- <td class="col-md-4">
231
- <a name="success"></a>
232
- <span class="name "><b>success</b>
233
- <a href="#success">
234
- <span class="icon ion-ios-link"></span>
235
- </a>
236
- </span>
237
- </td>
238
- </tr>
239
- <tr>
240
- <td class="col-md-4">
241
- <code>success: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
239
+ <table class="table table-sm table-bordered">
240
+ <tbody>
241
+ <tr>
242
+ <td class="col-md-4">
243
+ <a name="success"></a>
244
+ <span class="name "><b>success</b>
245
+ <a href="#success">
246
+ <span class="icon ion-ios-link"></span>
247
+ </a>
248
+ </span>
249
+ </td>
250
+ </tr>
251
+ <tr>
252
+ <td class="col-md-4">
253
+ <code>success: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
242
254
  </code>
243
- </td>
244
- </tr>
255
+ </td>
256
+ </tr>
245
257
 
246
258
 
247
- <tr>
248
- <td class="col-md-4">
249
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
259
+ <tr>
260
+ <td class="col-md-4">
261
+ <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
250
262
 
251
- </td>
252
- </tr>
263
+ </td>
264
+ </tr>
253
265
 
254
266
 
255
267
 
256
268
 
257
269
 
258
- </tbody>
259
- </table>
260
- </section>
261
- </div>
270
+
271
+ </tbody>
272
+ </table>
273
+ </section>
274
+ </div>
262
275
 
263
276
 
264
277
  </div>
@@ -302,6 +315,24 @@ contains the error message.</p>
302
315
 
303
316
  <script>
304
317
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
318
+ var updateDarkModeSwitchOffset = function () {
319
+ var content = document.querySelector('.content');
320
+ var scrollbarWidth = 0;
321
+
322
+ if (content) {
323
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
324
+ }
325
+
326
+ document.documentElement.style.setProperty(
327
+ '--content-scrollbar-width',
328
+ scrollbarWidth + 'px'
329
+ );
330
+ };
331
+
332
+ updateDarkModeSwitchOffset();
333
+ requestAnimationFrame(updateDarkModeSwitchOffset);
334
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
335
+
305
336
  checkToggle(darkModeState);
306
337
  if ($darkModeToggleSwitchers.length > 0) {
307
338
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -317,7 +348,6 @@ contains the error message.</p>
317
348
  <script src="../js/libs/lit-html.js"></script>
318
349
 
319
350
  <script src="../js/menu-wc.js" defer></script>
320
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
321
351
 
322
352
  <script src="../js/libs/bootstrap-native.js"></script>
323
353