@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
package/docs/license.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">
@@ -419,6 +426,24 @@ registered office inside a European Union country.</li>
419
426
 
420
427
  <script>
421
428
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
429
+ var updateDarkModeSwitchOffset = function () {
430
+ var content = document.querySelector('.content');
431
+ var scrollbarWidth = 0;
432
+
433
+ if (content) {
434
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
435
+ }
436
+
437
+ document.documentElement.style.setProperty(
438
+ '--content-scrollbar-width',
439
+ scrollbarWidth + 'px'
440
+ );
441
+ };
442
+
443
+ updateDarkModeSwitchOffset();
444
+ requestAnimationFrame(updateDarkModeSwitchOffset);
445
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
446
+
422
447
  checkToggle(darkModeState);
423
448
  if ($darkModeToggleSwitchers.length > 0) {
424
449
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -434,7 +459,6 @@ registered office inside a European Union country.</li>
434
459
  <script src="./js/libs/lit-html.js"></script>
435
460
 
436
461
  <script src="./js/menu-wc.js" defer></script>
437
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
438
462
 
439
463
  <script src="./js/libs/bootstrap-native.js"></script>
440
464