@eui/core 23.0.0-alpha.1 → 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 (297) hide show
  1. package/CHANGELOG.md +455 -0
  2. package/assets/i18n-eui/bg.json +7 -0
  3. package/assets/i18n-eui/cs.json +7 -0
  4. package/assets/i18n-eui/da.json +7 -0
  5. package/assets/i18n-eui/de.json +7 -0
  6. package/assets/i18n-eui/el.json +7 -0
  7. package/assets/i18n-eui/en.json +8 -1
  8. package/assets/i18n-eui/es.json +7 -0
  9. package/assets/i18n-eui/et.json +7 -0
  10. package/assets/i18n-eui/fi.json +7 -0
  11. package/assets/i18n-eui/fr.json +8 -1
  12. package/assets/i18n-eui/ga.json +7 -0
  13. package/assets/i18n-eui/hr.json +7 -0
  14. package/assets/i18n-eui/hu.json +7 -0
  15. package/assets/i18n-eui/it.json +7 -0
  16. package/assets/i18n-eui/lt.json +7 -0
  17. package/assets/i18n-eui/lv.json +7 -0
  18. package/assets/i18n-eui/mt.json +7 -0
  19. package/assets/i18n-eui/nl.json +7 -0
  20. package/assets/i18n-eui/pl.json +7 -0
  21. package/assets/i18n-eui/pt.json +7 -0
  22. package/assets/i18n-eui/ro.json +7 -0
  23. package/assets/i18n-eui/sk.json +7 -0
  24. package/assets/i18n-eui/sl.json +7 -0
  25. package/assets/i18n-eui/sv.json +7 -0
  26. package/docs/architecture.html +223 -0
  27. package/docs/changelog.html +773 -2
  28. package/docs/classes/ActivatedRouteAction.html +70 -20
  29. package/docs/classes/AddApiQueueItemAction.html +70 -20
  30. package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
  31. package/docs/classes/ApiQueueServiceMock.html +77 -20
  32. package/docs/classes/AsyncStorageService.html +86 -20
  33. package/docs/classes/AsyncStorageServiceMock.html +73 -17
  34. package/docs/classes/CssUtils.html +74 -20
  35. package/docs/classes/EmptyApiQueueAction.html +67 -17
  36. package/docs/classes/ErrorSubClass.html +68 -16
  37. package/docs/classes/EuiAppShellServiceMock.html +505 -0
  38. package/docs/classes/EuiCoreRootGuardClass.html +39 -8
  39. package/docs/classes/EuiError.html +69 -17
  40. package/docs/classes/I18nResourceImpl.html +50 -17
  41. package/docs/classes/InitStoreAction.html +70 -20
  42. package/docs/classes/LogServiceMock.html +67 -17
  43. package/docs/classes/RemoveApiQueueItemAction.html +67 -17
  44. package/docs/classes/StorageService.html +83 -19
  45. package/docs/classes/StorageServiceMock.html +70 -17
  46. package/docs/classes/TranslateServiceMock.html +90 -35
  47. package/docs/classes/UpdateAppConnectionAction.html +67 -17
  48. package/docs/classes/UpdateAppStatusAction.html +67 -17
  49. package/docs/classes/UpdateAppVersionAction.html +67 -17
  50. package/docs/classes/UpdateCurrentModuleAction.html +67 -17
  51. package/docs/classes/UpdateI18nStateAction.html +67 -17
  52. package/docs/classes/UpdateLocaleStateAction.html +67 -17
  53. package/docs/classes/UpdateNotificationsListAction.html +67 -17
  54. package/docs/classes/UpdateUserDashboardAction.html +67 -17
  55. package/docs/classes/UpdateUserDetailsAction.html +67 -17
  56. package/docs/classes/UpdateUserPreferencesAction.html +67 -17
  57. package/docs/classes/UpdateUserRightsAction.html +67 -17
  58. package/docs/classes/UpdateUserStateAction.html +67 -17
  59. package/docs/dependencies.html +38 -4
  60. package/docs/directives/TranslateMockDirective.html +72 -19
  61. package/docs/index.html +26 -2
  62. package/docs/injectables/ApiQueueService.html +97 -20
  63. package/docs/injectables/EuiAppShellService.html +147 -68
  64. package/docs/injectables/EuiDynamicComponentService.html +51 -18
  65. package/docs/injectables/EuiDynamicMenuService.html +67 -20
  66. package/docs/injectables/EuiGrowlService.html +85 -21
  67. package/docs/injectables/EuiLoaderService.html +65 -17
  68. package/docs/injectables/EuiPermissionService.html +95 -20
  69. package/docs/injectables/EuiThemeService.html +94 -107
  70. package/docs/injectables/EuiTimezoneService.html +51 -16
  71. package/docs/injectables/GlobalErrorHandler.html +79 -17
  72. package/docs/injectables/I18nLoader.html +53 -17
  73. package/docs/injectables/I18nService.html +101 -23
  74. package/docs/injectables/I18nServiceMock.html +96 -34
  75. package/docs/injectables/LocalForageService.html +81 -21
  76. package/docs/injectables/LocalStorageService.html +78 -21
  77. package/docs/injectables/LocaleService.html +124 -41
  78. package/docs/injectables/LocaleServiceMock.html +72 -18
  79. package/docs/injectables/LogService.html +68 -17
  80. package/docs/injectables/SessionStorageService.html +78 -21
  81. package/docs/injectables/StoreService.html +91 -22
  82. package/docs/injectables/StoreServiceMock.html +72 -17
  83. package/docs/injectables/UserService.html +97 -23
  84. package/docs/injectables/UserServiceMock.html +81 -23
  85. package/docs/interceptors/AddLangParamInterceptor.html +49 -18
  86. package/docs/interceptors/CachePreventionInterceptor.html +48 -17
  87. package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
  88. package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
  89. package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
  90. package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
  91. package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
  92. package/docs/interfaces/Action.html +158 -60
  93. package/docs/interfaces/ActionReducer.html +84 -55
  94. package/docs/interfaces/ComponentInfo.html +395 -0
  95. package/docs/interfaces/Dependency.html +278 -250
  96. package/docs/interfaces/Edit-1.html +395 -0
  97. package/docs/interfaces/Edit-2.html +395 -0
  98. package/docs/interfaces/Edit.html +395 -0
  99. package/docs/interfaces/EuiComponentEntry.html +485 -0
  100. package/docs/interfaces/EuiTimeZone.html +121 -93
  101. package/docs/interfaces/IEuiTheme.html +181 -153
  102. package/docs/interfaces/ImportToAdd.html +413 -0
  103. package/docs/interfaces/ImportsArrayInfo.html +356 -0
  104. package/docs/interfaces/Library.html +169 -137
  105. package/docs/interfaces/LoadedResources.html +164 -136
  106. package/docs/interfaces/LoadedResourcesError.html +121 -93
  107. package/docs/interfaces/MemoizedSelector.html +187 -138
  108. package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
  109. package/docs/interfaces/MigrateAllSchema.html +458 -0
  110. package/docs/interfaces/MigrationResult.html +395 -0
  111. package/docs/interfaces/ModuleLoadEvent.html +164 -136
  112. package/docs/interfaces/ModuleMapping.html +356 -0
  113. package/docs/interfaces/NgModuleInfo.html +395 -0
  114. package/docs/interfaces/Policy.html +164 -136
  115. package/docs/interfaces/ResourceError.html +170 -142
  116. package/docs/interfaces/Schema-1.html +368 -0
  117. package/docs/interfaces/Schema-10.html +368 -0
  118. package/docs/interfaces/Schema-11.html +368 -0
  119. package/docs/interfaces/Schema-12.html +368 -0
  120. package/docs/interfaces/Schema-13.html +368 -0
  121. package/docs/interfaces/Schema-14.html +368 -0
  122. package/docs/interfaces/Schema-15.html +368 -0
  123. package/docs/interfaces/Schema-16.html +368 -0
  124. package/docs/interfaces/Schema-17.html +368 -0
  125. package/docs/interfaces/Schema-18.html +368 -0
  126. package/docs/interfaces/Schema-19.html +368 -0
  127. package/docs/interfaces/Schema-2.html +380 -0
  128. package/docs/interfaces/Schema-20.html +368 -0
  129. package/docs/interfaces/Schema-3.html +431 -0
  130. package/docs/interfaces/Schema-4.html +368 -0
  131. package/docs/interfaces/Schema-5.html +368 -0
  132. package/docs/interfaces/Schema-6.html +368 -0
  133. package/docs/interfaces/Schema-7.html +368 -0
  134. package/docs/interfaces/Schema-8.html +368 -0
  135. package/docs/interfaces/Schema-9.html +368 -0
  136. package/docs/interfaces/Schema.html +413 -0
  137. package/docs/interfaces/SelectorEntry.html +511 -0
  138. package/docs/interfaces/TextChange.html +395 -0
  139. package/docs/interfaces/ThemeState.html +121 -93
  140. package/docs/interfaces/TranslationKeys.html +41 -11
  141. package/docs/interfaces/UIState.html +1669 -1641
  142. package/docs/interfaces/body.html +181 -153
  143. package/docs/js/architecture-graph.js +288 -0
  144. package/docs/js/libs/bootstrap-native.js +4 -2
  145. package/docs/js/libs/tablesort.min.js +3 -3
  146. package/docs/js/libs/tablesort.number.min.js +2 -2
  147. package/docs/js/libs/vis-network.min.js +7 -7
  148. package/docs/js/menu-wc.js +152 -14
  149. package/docs/js/routes.js +138 -37
  150. package/docs/js/search/search.js +62 -0
  151. package/docs/js/search/search_index.js +2 -2
  152. package/docs/js/tabs.js +98 -15
  153. package/docs/js/tree.js +44 -7
  154. package/docs/json/EuiPermissionService.md +1 -0
  155. package/docs/json/LocaleService.md +1 -0
  156. package/docs/json/documentation.json +43075 -14389
  157. package/docs/license.html +26 -2
  158. package/docs/llms.txt +2282 -0
  159. package/docs/miscellaneous/enumerations.html +38 -34
  160. package/docs/miscellaneous/functions.html +19294 -769
  161. package/docs/miscellaneous/typealiases.html +59 -27
  162. package/docs/miscellaneous/variables.html +4226 -1284
  163. package/docs/modules/CoreModule.html +34 -9
  164. package/docs/modules/I18nModule.html +34 -9
  165. package/docs/modules/LogModule.html +34 -9
  166. package/docs/modules/TranslateMockModule.html +60 -13
  167. package/docs/modules.html +26 -2
  168. package/docs/overview.html +29 -5
  169. package/docs/pipes/TranslateMockPipe.html +87 -9
  170. package/docs/properties.html +27 -3
  171. package/docs/routes.html +26 -2
  172. package/docs/styles/compodoc.css +365 -44
  173. package/docs/styles/dark.css +16 -0
  174. package/docs/template-playground/hbs-render.service.ts +6 -1
  175. package/fesm2022/eui-core.mjs +319 -145
  176. package/fesm2022/eui-core.mjs.map +1 -1
  177. package/package.json +16 -11
  178. package/schematics/add-eui-imports/index.d.ts +8 -0
  179. package/schematics/add-eui-imports/index.js +525 -0
  180. package/schematics/add-eui-imports/index.js.map +1 -0
  181. package/schematics/add-eui-imports/schema.json +24 -0
  182. package/schematics/add-eui-imports/selector-map.d.ts +35 -0
  183. package/schematics/add-eui-imports/selector-map.js +246 -0
  184. package/schematics/add-eui-imports/selector-map.js.map +1 -0
  185. package/schematics/collection.json +118 -0
  186. package/schematics/fix-no-multiple-empty-lines/index.d.ts +7 -0
  187. package/schematics/fix-no-multiple-empty-lines/index.js +90 -0
  188. package/schematics/fix-no-multiple-empty-lines/index.js.map +1 -0
  189. package/schematics/fix-no-multiple-empty-lines/schema.json +19 -0
  190. package/schematics/icon-migrate/index.d.ts +3 -0
  191. package/schematics/icon-migrate/index.js +228 -0
  192. package/schematics/icon-migrate/index.js.map +1 -0
  193. package/schematics/icon-migrate/schema.d.ts +6 -0
  194. package/schematics/icon-migrate/schema.js +3 -0
  195. package/schematics/icon-migrate/schema.js.map +1 -0
  196. package/schematics/icon-migrate/schema.json +20 -0
  197. package/schematics/migrate/index.d.ts +3 -0
  198. package/schematics/migrate/index.js +98 -0
  199. package/schematics/migrate/index.js.map +1 -0
  200. package/schematics/migrate/replacements/breaking-changes.d.ts +6 -0
  201. package/schematics/migrate/replacements/breaking-changes.js +173 -0
  202. package/schematics/migrate/replacements/breaking-changes.js.map +1 -0
  203. package/schematics/migrate/replacements/eui-modules.d.ts +29 -0
  204. package/schematics/migrate/replacements/eui-modules.js +231 -0
  205. package/schematics/migrate/replacements/eui-modules.js.map +1 -0
  206. package/schematics/migrate/replacements/icons.d.ts +14 -0
  207. package/schematics/migrate/replacements/icons.js +235 -0
  208. package/schematics/migrate/replacements/icons.js.map +1 -0
  209. package/schematics/migrate/replacements/mwp.d.ts +6 -0
  210. package/schematics/migrate/replacements/mwp.js +148 -0
  211. package/schematics/migrate/replacements/mwp.js.map +1 -0
  212. package/schematics/migrate/schema.d.ts +8 -0
  213. package/schematics/migrate/schema.js +3 -0
  214. package/schematics/migrate/schema.js.map +1 -0
  215. package/schematics/migrate/schema.json +25 -0
  216. package/schematics/migrate/utils.d.ts +21 -0
  217. package/schematics/migrate/utils.js +106 -0
  218. package/schematics/migrate/utils.js.map +1 -0
  219. package/schematics/migrate-all/index.d.ts +8 -0
  220. package/schematics/migrate-all/index.js +30 -0
  221. package/schematics/migrate-all/index.js.map +1 -0
  222. package/schematics/migrate-all/schema.json +30 -0
  223. package/schematics/migrate-eui-accent/index.d.ts +7 -0
  224. package/schematics/migrate-eui-accent/index.js +193 -0
  225. package/schematics/migrate-eui-accent/index.js.map +1 -0
  226. package/schematics/migrate-eui-accent/schema.json +19 -0
  227. package/schematics/migrate-eui-alert/index.d.ts +7 -0
  228. package/schematics/migrate-eui-alert/index.js +152 -0
  229. package/schematics/migrate-eui-alert/index.js.map +1 -0
  230. package/schematics/migrate-eui-alert/schema.json +19 -0
  231. package/schematics/migrate-eui-avatar/index.d.ts +7 -0
  232. package/schematics/migrate-eui-avatar/index.js +155 -0
  233. package/schematics/migrate-eui-avatar/index.js.map +1 -0
  234. package/schematics/migrate-eui-avatar/schema.json +19 -0
  235. package/schematics/migrate-eui-button/index.d.ts +7 -0
  236. package/schematics/migrate-eui-button/index.js +191 -0
  237. package/schematics/migrate-eui-button/index.js.map +1 -0
  238. package/schematics/migrate-eui-button/schema.json +19 -0
  239. package/schematics/migrate-eui-chip/index.d.ts +7 -0
  240. package/schematics/migrate-eui-chip/index.js +153 -0
  241. package/schematics/migrate-eui-chip/index.js.map +1 -0
  242. package/schematics/migrate-eui-chip/schema.json +19 -0
  243. package/schematics/migrate-eui-chip-list/index.d.ts +7 -0
  244. package/schematics/migrate-eui-chip-list/index.js +472 -0
  245. package/schematics/migrate-eui-chip-list/index.js.map +1 -0
  246. package/schematics/migrate-eui-chip-list/schema.json +19 -0
  247. package/schematics/migrate-eui-discussion-thread/index.d.ts +7 -0
  248. package/schematics/migrate-eui-discussion-thread/index.js +143 -0
  249. package/schematics/migrate-eui-discussion-thread/index.js.map +1 -0
  250. package/schematics/migrate-eui-discussion-thread/schema.json +19 -0
  251. package/schematics/migrate-eui-editor/index.d.ts +7 -0
  252. package/schematics/migrate-eui-editor/index.js +198 -0
  253. package/schematics/migrate-eui-editor/index.js.map +1 -0
  254. package/schematics/migrate-eui-editor/schema.json +19 -0
  255. package/schematics/migrate-eui-fieldset/index.d.ts +7 -0
  256. package/schematics/migrate-eui-fieldset/index.js +186 -0
  257. package/schematics/migrate-eui-fieldset/index.js.map +1 -0
  258. package/schematics/migrate-eui-fieldset/schema.json +19 -0
  259. package/schematics/migrate-eui-icon-svg/index.d.ts +7 -0
  260. package/schematics/migrate-eui-icon-svg/index.js +197 -0
  261. package/schematics/migrate-eui-icon-svg/index.js.map +1 -0
  262. package/schematics/migrate-eui-icon-svg/schema.json +19 -0
  263. package/schematics/migrate-eui-icon-toggle/index.d.ts +7 -0
  264. package/schematics/migrate-eui-icon-toggle/index.js +194 -0
  265. package/schematics/migrate-eui-icon-toggle/index.js.map +1 -0
  266. package/schematics/migrate-eui-icon-toggle/schema.json +19 -0
  267. package/schematics/migrate-eui-popover/index.d.ts +7 -0
  268. package/schematics/migrate-eui-popover/index.js +152 -0
  269. package/schematics/migrate-eui-popover/index.js.map +1 -0
  270. package/schematics/migrate-eui-popover/schema.json +19 -0
  271. package/schematics/migrate-eui-progress-circle/index.d.ts +7 -0
  272. package/schematics/migrate-eui-progress-circle/index.js +192 -0
  273. package/schematics/migrate-eui-progress-circle/index.js.map +1 -0
  274. package/schematics/migrate-eui-progress-circle/schema.json +19 -0
  275. package/schematics/migrate-eui-table/index.d.ts +7 -0
  276. package/schematics/migrate-eui-table/index.js +544 -0
  277. package/schematics/migrate-eui-table/index.js.map +1 -0
  278. package/schematics/migrate-eui-table/schema.json +19 -0
  279. package/schematics/migrate-eui-tabs/index.d.ts +7 -0
  280. package/schematics/migrate-eui-tabs/index.js +296 -0
  281. package/schematics/migrate-eui-tabs/index.js.map +1 -0
  282. package/schematics/migrate-eui-tabs/schema.json +19 -0
  283. package/schematics/migrate-eui-toolbar-menu/index.d.ts +7 -0
  284. package/schematics/migrate-eui-toolbar-menu/index.js +358 -0
  285. package/schematics/migrate-eui-toolbar-menu/index.js.map +1 -0
  286. package/schematics/migrate-eui-toolbar-menu/schema.json +19 -0
  287. package/schematics/migrate-to-standalone/index.d.ts +7 -0
  288. package/schematics/migrate-to-standalone/index.js +723 -0
  289. package/schematics/migrate-to-standalone/index.js.map +1 -0
  290. package/schematics/migrate-to-standalone/schema.json +19 -0
  291. package/schematics/package.json +1 -0
  292. package/schematics/utils/dry-run.d.ts +3 -0
  293. package/schematics/utils/dry-run.js +14 -0
  294. package/schematics/utils/dry-run.js.map +1 -0
  295. package/types/eui-core.d.ts +74 -17
  296. package/types/eui-core.d.ts.map +1 -1
  297. 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">
@@ -116,6 +123,11 @@
116
123
  <li class="breadcrumb-item" >TranslateMockPipe</li>
117
124
  </ol>
118
125
 
126
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
127
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
128
+ <code>packages/core/src/lib/mocks/translate.module.mock.ts</code>
129
+ </div>
130
+
119
131
  <ul class="nav nav-tabs" role="tablist">
120
132
  <li class="nav-item">
121
133
  <a href="#info"
@@ -123,18 +135,17 @@
123
135
  class="nav-link active"
124
136
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
125
137
  </li>
138
+ <li class="nav-item">
139
+ <a href="#api"
140
+ class="nav-link"
141
+
142
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
143
+ </li>
126
144
  </ul>
127
145
 
128
146
  <div class="tab-content">
129
147
  <div class="tab-pane fade active in" id="info">
130
148
 
131
- <p class="comment">
132
- <h3>File</h3>
133
- </p>
134
- <p class="comment">
135
- <code>packages/core/src/lib/mocks/translate.module.mock.ts</code>
136
- </p>
137
-
138
149
 
139
150
 
140
151
 
@@ -150,6 +161,56 @@
150
161
  </table>
151
162
  </section>
152
163
 
164
+ <section data-compodoc="block-relationships">
165
+ <h3>Relationships</h3>
166
+
167
+ <div class="row pt-3">
168
+ <div class="col-sm-6">
169
+ <h4>Used by</h4>
170
+ <ul class="list-unstyled relationships-list">
171
+ <li>
172
+ <code><a href="../modules/TranslateMockModule.html" target="_self" >TranslateMockModule</a></code>
173
+ </li>
174
+ </ul>
175
+ </div>
176
+
177
+ <div class="col-sm-6">
178
+ <h4>Depends on</h4>
179
+ <p class="comment"><i>No results matching.</i></p>
180
+ </div>
181
+ </div>
182
+ </section>
183
+
184
+ </div>
185
+
186
+ <div class="tab-pane fade " id="api">
187
+ <section data-compodoc="block-index">
188
+ <h3 id="index">Index</h3>
189
+
190
+ <table class="table table-sm table-bordered index-table">
191
+ <tbody>
192
+ <tr>
193
+ <td class="col-md-3">
194
+ <h6><b>Methods</b></h6>
195
+ </td>
196
+ <td class="col-md-9">
197
+ <ul class="index-list">
198
+ <li>
199
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
200
+ <a href="#transform" >transform</a>
201
+ </li>
202
+ </ul>
203
+ </td>
204
+ </tr>
205
+ </tbody>
206
+ </table>
207
+
208
+
209
+
210
+
211
+
212
+ </section>
213
+
153
214
  <section data-compodoc="block-methods">
154
215
 
155
216
  <h3 id="methods">
@@ -265,6 +326,24 @@
265
326
 
266
327
  <script>
267
328
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
329
+ var updateDarkModeSwitchOffset = function () {
330
+ var content = document.querySelector('.content');
331
+ var scrollbarWidth = 0;
332
+
333
+ if (content) {
334
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
335
+ }
336
+
337
+ document.documentElement.style.setProperty(
338
+ '--content-scrollbar-width',
339
+ scrollbarWidth + 'px'
340
+ );
341
+ };
342
+
343
+ updateDarkModeSwitchOffset();
344
+ requestAnimationFrame(updateDarkModeSwitchOffset);
345
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
346
+
268
347
  checkToggle(darkModeState);
269
348
  if ($darkModeToggleSwitchers.length > 0) {
270
349
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -280,7 +359,6 @@
280
359
  <script src="../js/libs/lit-html.js"></script>
281
360
 
282
361
  <script src="../js/menu-wc.js" defer></script>
283
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
284
362
 
285
363
  <script src="../js/libs/bootstrap-native.js"></script>
286
364
 
@@ -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">
@@ -121,7 +128,7 @@
121
128
  </ol>
122
129
  <ul class="properties-list">
123
130
  <li>
124
- <b>Version</b> : 23.0.0-alpha.1</li>
131
+ <b>Version</b> : 23.0.0-alpha.3</li>
125
132
  </ul>
126
133
 
127
134
 
@@ -160,6 +167,24 @@
160
167
 
161
168
  <script>
162
169
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
170
+ var updateDarkModeSwitchOffset = function () {
171
+ var content = document.querySelector('.content');
172
+ var scrollbarWidth = 0;
173
+
174
+ if (content) {
175
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
176
+ }
177
+
178
+ document.documentElement.style.setProperty(
179
+ '--content-scrollbar-width',
180
+ scrollbarWidth + 'px'
181
+ );
182
+ };
183
+
184
+ updateDarkModeSwitchOffset();
185
+ requestAnimationFrame(updateDarkModeSwitchOffset);
186
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
187
+
163
188
  checkToggle(darkModeState);
164
189
  if ($darkModeToggleSwitchers.length > 0) {
165
190
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -175,7 +200,6 @@
175
200
  <script src="./js/libs/lit-html.js"></script>
176
201
 
177
202
  <script src="./js/menu-wc.js" defer></script>
178
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
179
203
 
180
204
  <script src="./js/libs/bootstrap-native.js"></script>
181
205
 
package/docs/routes.html CHANGED
@@ -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">
@@ -163,6 +170,24 @@
163
170
 
164
171
  <script>
165
172
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
173
+ var updateDarkModeSwitchOffset = function () {
174
+ var content = document.querySelector('.content');
175
+ var scrollbarWidth = 0;
176
+
177
+ if (content) {
178
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
179
+ }
180
+
181
+ document.documentElement.style.setProperty(
182
+ '--content-scrollbar-width',
183
+ scrollbarWidth + 'px'
184
+ );
185
+ };
186
+
187
+ updateDarkModeSwitchOffset();
188
+ requestAnimationFrame(updateDarkModeSwitchOffset);
189
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
190
+
166
191
  checkToggle(darkModeState);
167
192
  if ($darkModeToggleSwitchers.length > 0) {
168
193
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -178,7 +203,6 @@
178
203
  <script src="./js/libs/lit-html.js"></script>
179
204
 
180
205
  <script src="./js/menu-wc.js" defer></script>
181
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
182
206
 
183
207
  <script src="./js/libs/bootstrap-native.js"></script>
184
208