@eui/core 22.0.0-alpha.76 → 22.0.0-alpha.78

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 (58) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/docs/changelog.html +44 -0
  3. package/docs/interfaces/Schema-1.html +1 -13
  4. package/docs/interfaces/Schema-2.html +13 -1
  5. package/docs/interfaces/Schema-23.html +1 -1
  6. package/docs/interfaces/Schema-24.html +1 -1
  7. package/docs/interfaces/Schema-25.html +1 -1
  8. package/docs/interfaces/Schema-26.html +1 -1
  9. package/docs/interfaces/Schema-27.html +1 -1
  10. package/docs/interfaces/Schema-28.html +1 -1
  11. package/docs/interfaces/Schema-29.html +1 -1
  12. package/docs/interfaces/Schema-30.html +1 -1
  13. package/docs/interfaces/Schema-31.html +1 -1
  14. package/docs/interfaces/Schema-32.html +1 -1
  15. package/docs/interfaces/Schema-33.html +1 -1
  16. package/docs/interfaces/Schema-34.html +1 -1
  17. package/docs/interfaces/Schema-35.html +1 -1
  18. package/docs/interfaces/Schema-36.html +1 -1
  19. package/docs/interfaces/Schema-37.html +368 -0
  20. package/docs/interfaces/TemplateSource.html +1 -1
  21. package/docs/js/menu-wc.js +3 -0
  22. package/docs/js/search/search_index.js +2 -2
  23. package/docs/json/documentation.json +2314 -1787
  24. package/docs/llms.txt +54 -30
  25. package/docs/miscellaneous/functions.html +3944 -3601
  26. package/docs/miscellaneous/typealiases.html +2 -2
  27. package/docs/miscellaneous/variables.html +169 -53
  28. package/docs/overview.html +1 -1
  29. package/docs/properties.html +1 -1
  30. package/fesm2022/eui-core.mjs +82 -85
  31. package/fesm2022/eui-core.mjs.map +1 -1
  32. package/migrations.json +6 -0
  33. package/package.json +2 -2
  34. package/schematics/add-eui-imports/index.js +1 -1
  35. package/schematics/add-eui-imports/index.js.map +1 -1
  36. package/schematics/collection.json +5 -0
  37. package/schematics/migrate-all/index.js +1 -0
  38. package/schematics/migrate-all/index.js.map +1 -1
  39. package/schematics/migrate-eui-alert/index.js +2 -2
  40. package/schematics/migrate-eui-alert/index.js.map +1 -1
  41. package/schematics/migrate-eui-chip-list/index.js +1 -1
  42. package/schematics/migrate-eui-chip-list/index.js.map +1 -1
  43. package/schematics/migrate-eui-date-range-selector/schema.json +19 -0
  44. package/schematics/migrate-eui-datepicker/index.js +16 -111
  45. package/schematics/migrate-eui-datepicker/index.js.map +1 -1
  46. package/schematics/migrate-eui-table/index.js +1 -1
  47. package/schematics/migrate-eui-table/index.js.map +1 -1
  48. package/schematics/migrate-eui-tabs/index.js +5 -5
  49. package/schematics/migrate-eui-tabs/index.js.map +1 -1
  50. package/schematics/migrate-eui-tooltip/index.js +2 -2
  51. package/schematics/migrate-eui-tooltip/index.js.map +1 -1
  52. package/schematics/migrate-to-signals/index.js +1 -1
  53. package/schematics/migrate-to-signals/index.js.map +1 -1
  54. package/schematics/utils/date-adapter.d.ts +30 -0
  55. package/schematics/utils/date-adapter.js +125 -0
  56. package/schematics/utils/date-adapter.js.map +1 -0
  57. package/types/eui-core.d.ts +1 -0
  58. package/types/eui-core.d.ts.map +1 -1
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # eui documentation
2
2
 
3
- > Generated by compodoc 2.0.0 at 2026-11-19T19:32:06.391Z, llm-md export.
3
+ > Generated by compodoc 2.0.0 at 2026-11-20T16:23:40.647Z, llm-md export.
4
4
 
5
5
  ## Modules
6
6
 
@@ -1243,19 +1243,19 @@ Properties:
1243
1243
 
1244
1244
  ### Schema
1245
1245
 
1246
- File: `packages/core/schematics/icon-migrate/schema.ts`
1246
+ File: `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
1247
1247
 
1248
1248
  Properties:
1249
- - `dryRun?: boolean` — Whether to perform a dry run without making changes
1250
- - `path?: string` — The path to scan for files to migrate
1249
+ - `dryRun?: boolean`
1250
+ - `path?: string`
1251
1251
 
1252
1252
  ### Schema
1253
1253
 
1254
- File: `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
1254
+ File: `packages/core/schematics/icon-migrate/schema.ts`
1255
1255
 
1256
1256
  Properties:
1257
- - `dryRun?: boolean`
1258
- - `path?: string`
1257
+ - `dryRun?: boolean` — Whether to perform a dry run without making changes
1258
+ - `path?: string` — The path to scan for files to migrate
1259
1259
 
1260
1260
  ### Schema
1261
1261
 
@@ -1446,6 +1446,14 @@ Properties:
1446
1446
 
1447
1447
  ### Schema
1448
1448
 
1449
+ File: `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
1450
+
1451
+ Properties:
1452
+ - `dryRun?: boolean`
1453
+ - `path?: string`
1454
+
1455
+ ### Schema
1456
+
1449
1457
  File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
1450
1458
 
1451
1459
  Properties:
@@ -1580,7 +1588,7 @@ Properties:
1580
1588
 
1581
1589
  ### TemplateSource
1582
1590
 
1583
- File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
1591
+ File: `packages/core/schematics/utils/date-adapter.ts`
1584
1592
 
1585
1593
  Properties:
1586
1594
  - `content: string`
@@ -1671,7 +1679,7 @@ Properties:
1671
1679
  ## Public functions
1672
1680
 
1673
1681
  - `adapterKinds(source: string): AdapterKind[]`
1674
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
1682
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
1675
1683
  - `addEsImports(source: string, filePath: string, imports): string`
1676
1684
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
1677
1685
  - `addEuiImports(options: Schema = {}): Rule`
@@ -1824,6 +1832,8 @@ Properties:
1824
1832
  Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
1825
1833
  - `collectRenames(element: TmplAstElement, edits): void`
1826
1834
  Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
1835
+ - `collectSourceFiles(tree: Tree, scanPath?: string): string[]` — Collects the .ts and .html files under scanPath , skipping declaration files, node\_modules and dist.
1836
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
1827
1837
  - `collectTableInputRenames(element: TmplAstElement, edits): void`
1828
1838
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
1829
1839
  - `collectTagRenames(element: TmplAstElement, source: string, edits): void`
@@ -1836,8 +1846,8 @@ Properties:
1836
1846
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
1837
1847
  - `collectTypeScriptAnnotations(source: string, path: string): Annotation[]`
1838
1848
  Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
1839
- - `componentTemplates(tree: Tree, path: string, source: string): TemplateSource[]`
1840
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
1849
+ - `componentTemplates(tree: Tree, path: string, source: string, tagName: string): TemplateSource[]` — Inline and external ( templateUrl ) templates of a component file that mention tagName .
1850
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
1841
1851
  - `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
1842
1852
  Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
1843
1853
  - `consumeLeadingWhitespace(source: string, start: number): number`
@@ -1892,8 +1902,8 @@ Properties:
1892
1902
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
1893
1903
  - `defaultStateFn(state: any, selectors, props: any, memoizedProjector: MemoizedProjection): any`
1894
1904
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
1895
- - `detectAppAdapter(tree: Tree, files): AdapterKind | undefined`
1896
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
1905
+ - `detectAppAdapter(tree: Tree, files): AdapterKind | undefined` — The single adapter provided in app.config.ts / app.module.ts / main.ts, if any.
1906
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
1897
1907
  - `detectEuiVersion(tree: Tree): string | null` — Auto-detects the eUI version from the installed
1898
1908
  Defined in `packages/core/schematics/migrate/utils.ts`
1899
1909
  - `detectIndent(source: string, pos: number): string`
@@ -1922,9 +1932,9 @@ Properties:
1922
1932
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
1923
1933
  - `findDecoratorImportsArray(sf, source: string, decoratorStartHint: number): ImportsArrayInfo | null`
1924
1934
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
1925
- - `findDirectChild(element: TmplAstElement, name: string): TmplAstElement | undefined`
1935
+ - `findDirectChild(element: TmplAstElement, tagName: string): TmplAstElement | undefined`
1926
1936
  Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
1927
- - `findElements(nodes, name: string): TmplAstElement[]`
1937
+ - `findElements(nodes, tagName: string): TmplAstElement[]`
1928
1938
  Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
1929
1939
  - `findImportsArrayInSource(sf): ts.ArrayLiteralExpression | null`
1930
1940
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
@@ -1938,8 +1948,8 @@ Properties:
1938
1948
  Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
1939
1949
  - `fixNoMultipleEmptyLines(options: Schema = {}): Rule`
1940
1950
  Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
1941
- - `forEachDatepicker(nodes, callback): void`
1942
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
1951
+ - `forEachElement(nodes, tagName: string, callback): void` — Visits every element named tagName , including those nested in control-flow blocks.
1952
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
1943
1953
  - `formatInnerLines(source: string, indent: string): string[]`
1944
1954
  Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
1945
1955
  - `getAttributeSpan(attr): { start: number; end: number }`
@@ -1998,7 +2008,7 @@ Properties:
1998
2008
  Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
1999
2009
  - `handleStaticValue(value: string, makeEdit, element: TmplAstElement, source: string, filePath: string, context: SchematicContext, edits): void` — Applies the shared rule for a statically known iconSet value: 'social' → rewrite to 'social-media' a supported value → leave as-is anything else → warn (unsupported in v22, no safe replacement)
2000
2010
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2001
- - `hasAttribute(element: TmplAstElement, name: string): boolean`
2011
+ - `hasAttribute(element: TmplAstElement, attrName: string): boolean`
2002
2012
  Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
2003
2013
  - `hasEclLink(element: TmplAstElement): boolean`
2004
2014
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
@@ -2023,7 +2033,7 @@ Properties:
2023
2033
  - `injectVariantAttribute(element: TmplAstElement, source: string): Edit` — Injects variant="primary-highlight" immediately after the eclLink attribute.
2024
2034
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2025
2035
  - `inlineTemplates(source: string): literal type[]`
2026
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2036
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2027
2037
  - `isArgumentsChanged(args: IArguments, lastArguments: IArguments, comparator: ComparatorFn)`
2028
2038
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
2029
2039
  - `isAssignmentOperator(kind): boolean`
@@ -2228,6 +2238,8 @@ Properties:
2228
2238
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2229
2239
  - `migrateEuiDatepicker(options: Schema = {}): Rule` — Migrates eui-datepicker usages to the moment-free datepicker: moment locales are no longer bundled (report only); with a Luxon adapter, moment-token presets are replaced by their LUXON\_\* equivalents and static dateOutputFormat values are converted to Luxon tokens; with the native adapter, dateOutputFormat is no longer supported (report only). The adapter is detected from the component file, falling back to the one provided in app.config.ts / app.module.ts / main.ts.
2230
2240
  Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2241
+ - `migrateEuiDateRangeSelector(options: Schema = {}): Rule` — Advisory migration for the moment-free eui-date-range-selector. It makes no edits; it reports: usages not on a Luxon or native adapter, which must now import the moment locales they use; time-range usages with a Luxon or native adapter, which now get the adapter's own date type back after a time change (moment objects before); code reading the euiDateRangeInvalid error payload with a Luxon or native adapter, whose actual / end dates are now of the adapter's type; euiStartEndDateValidator usages, which no longer report an empty or partial range (unparseable dates are reported by the component as euiDateRangeParse instead).
2242
+ Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
2231
2243
  - `migrateEuiDiscussionThread(options: Schema = {}): Rule`
2232
2244
  Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
2233
2245
  - `migrateEuiEditor(options: Schema = {}): Rule`
@@ -2380,6 +2392,8 @@ Properties:
2380
2392
  Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2381
2393
  - `parseSelector(raw: string): { element: string | null; attributes: string[] }` — Parses a raw CSS-like selector string into element + attributes. Examples: "button\[euiButton\]" → { element: "button", attributes: \["euiButton"\] } "\[euiTooltip\]" → { element: null, attributes: \["euiTooltip"\] } "eui-tabs" → { element: "eui-tabs", attributes: \[\] } "input\[euiInputNumber\]\[formControlName\]" → { element: "input", attributes: \["euiInputNumber", "formControlName"\] }
2382
2394
  Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
2395
+ - `parseTemplateNodes(template: string): [] | null`
2396
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2383
2397
  - `preInitApp(envConfig: EuiEnvConfig): Promise<EuiEnvConfig>` — Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations. It needs to be added in your application main.ts file.
2384
2398
  Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
2385
2399
  - `prepareEuiAppConfigToken(euiConfig: EuiConfig): EuiAppConfig`
@@ -2446,12 +2460,14 @@ Properties:
2446
2460
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
2447
2461
  - `resolveEuiClassName(node, sourceFile, templateRefMap: Map): string | null` — Resolves the EUI class name from a property declaration. Checks: type annotation → decorator class argument → template ref map.
2448
2462
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
2463
+ - `resolveFileAdapter(source: string, appAdapter): AdapterKind | undefined` — The adapter a component file works with: its own provider, or the app-wide one when it provides none. A file referencing several adapters is ambiguous and yields undefined .
2464
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2449
2465
  - `resolveIcon(icon: string): string | undefined` — Resolve icon: first try exact match in ICON\_MAP, then apply suffix mapping
2450
2466
  Defined in `packages/core/schematics/icon-migrate/index.ts`
2451
2467
  - `resolveImports(matched, useClassArray: boolean): ImportToAdd[]`
2452
2468
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
2453
2469
  - `resolvePath(fromFile: string, relative: string): string`
2454
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2470
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2455
2471
  - `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
2456
2472
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
2457
2473
  - `sanitize(message: string): string`
@@ -2466,8 +2482,8 @@ Properties:
2466
2482
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2467
2483
  - `setTextAttributeValue(attr: TmplAstTextAttribute, newValue: string): Edit` — Replaces the value of a text attribute iconSet="old" with a new value.
2468
2484
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2469
- - `templateUsesDatepicker(source: string): boolean`
2470
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2485
+ - `templateUsesElement(template: string, tagName: string): boolean` — Whether a template uses tagName ; falls back to a substring check for unparseable templates.
2486
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2471
2487
  - `transformTranslations(translations: T): T` — Recursively walks a translation object and converts all legacy {{var}} interpolations to ICU-compatible {var} format in string leaf values.
2472
2488
  Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
2473
2489
  - `tryInsertWriteTodo(node, euiRefs: Map, sourceFile, source: string): Edit | null` — Detects a programmatic WRITE to a now-signal input and returns an edit that comments out the offending statement and prepends an explanatory TODO. A signal input ( input() ) exposes a read-only getter — it cannot be assigned from outside the component ( comp.prop = value no longer compiles, and comp.prop() is a getter, not a setter). There is no safe, mechanical rewrite: the correct fix is to drive the value declaratively through a template binding ( \[prop\]="..." ) or, when a ComponentRef is genuinely available, componentRef.setInput('prop', value) . Both require human judgement, so instead of rewriting we comment the statement out (keeping the build green) and leave a TODO pointing at the manual fix. Only acts when the assignment is the ENTIRE statement ( ExpressionStatement whose expression is exactly this assignment): ref.prop = value (simple assignment) ref.prop += value, etc. (compound assignment) where ref is a tracked EUI/ECL reference and prop is in its signal set. When the write is only part of a larger statement (e.g. inside an if without a block, or nested in another expression), commenting it out would also remove unrelated logic, so we leave it untouched (it will surface as a compile error the developer must resolve by hand).
@@ -2528,6 +2544,8 @@ Properties:
2528
2544
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
2529
2545
  - `updateEsImports(source: string, filePath: string, replacements: Map): string`
2530
2546
  Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
2547
+ - `usesTimeRange(template: string): boolean`
2548
+ Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
2531
2549
  - `visitAstForPipes(ast: AST, edits): void`
2532
2550
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
2533
2551
  - `visitDir(dir: DirEntry, callback): void`
@@ -2572,8 +2590,6 @@ Properties:
2572
2590
  Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
2573
2591
  - `visitDir(dir: DirEntry, callback): void`
2574
2592
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2575
- - `visitDir(dir: DirEntry, callback): void`
2576
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2577
2593
  - `visitDir(dir: DirEntry, callback): void`
2578
2594
  Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
2579
2595
  - `visitDir(dir: DirEntry, callback): void`
@@ -2754,14 +2770,16 @@ Properties:
2754
2770
  Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
2755
2771
  - `actionToReducerMap: Record<string, UserState> = { [CoreUserActionTypes.UPDATE_USER_DETAILS]: updateUserDetails, [CoreUserActionTypes.UPDATE_USER_PREFERENCES]: updateUserPreferences, [CoreUserActionTypes.UPDAT…`
2756
2772
  Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
2773
+ - `ADAPTER_NAMES: Record<AdapterKind, string> = { moment: 'MomentDateAdapter', luxon: 'LuxonDateAdapter', native: 'NativeDateAdapter' }`
2774
+ Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
2757
2775
  - `ADAPTER_PATTERNS: Record<AdapterKind, RegExp> = { moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/, luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxo…`
2758
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2776
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2759
2777
  - `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
2760
2778
  Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
2761
2779
  - `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName: string; moduleConfig: Record<string, unknown> }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: {…`
2762
2780
  Defined in `packages/core/src/lib/eui-core.module.ts`
2763
2781
  - `APP_ROOT_FILE: unknown = /(^|\/)(app\.config|app\.module|main)\.ts$/`
2764
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2782
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2765
2783
  - `ATTRIBUTE: string = 'eclBreadcrumb'`
2766
2784
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2767
2785
  - `ATTRIBUTE: string = 'eclInpageNavigationItem'`
@@ -2790,7 +2808,7 @@ Properties:
2790
2808
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2791
2809
  - `CHIP_TAG: string = 'eui-chip'`
2792
2810
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2793
- - `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element && element.nodeType === Node.ELEMENT_…`
2811
+ - `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element !== null && element.nodeType === Node…`
2794
2812
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
2795
2813
  - `COMPONENT_TAG: string = 'eui-discussion-thread'`
2796
2814
  Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
@@ -2824,6 +2842,8 @@ Properties:
2824
2842
  Defined in `packages/core/src/lib/eui-core.module.ts`
2825
2843
  - `CYAN: string = '\x1b[36m'`
2826
2844
  Defined in `packages/core/schematics/utils/dry-run.ts`
2845
+ - `DATEPICKER_TAG: string = 'eui-datepicker'`
2846
+ Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2827
2847
  - `DEFAULT_EUI_APP_CONFIG: EuiAppConfig = { global: { ...DEFAULT_GLOBAL_CONFIG, }, }`
2828
2848
  Defined in `packages/core/src/lib/services/config/defaults.ts`
2829
2849
  - `DEFAULT_EUI_CONFIG: EuiConfig = { appConfig: { ...DEFAULT_EUI_APP_CONFIG, }, environment: { ...DEFAULT_EUI_ENV_CONFIG, }, }`
@@ -2984,8 +3004,10 @@ Properties:
2984
3004
  Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
2985
3005
  - `MULTIPLE_EMPTY_LINES: unknown = /\n{3,}/g`
2986
3006
  Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
3007
+ - `NATIVE_TYPE: Record<AdapterKind, string> = { moment: 'moment', luxon: 'Luxon DateTime', native: 'Date' }`
3008
+ Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
2987
3009
  - `NESTED_NODE_KEYS: [] = ['children', 'branches', 'cases', 'empty', 'placeholder', 'loading', 'error']`
2988
- Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
3010
+ Defined in `packages/core/schematics/utils/date-adapter.ts`
2989
3011
  - `NEW_BODY: string = 'eui-tab-body'`
2990
3012
  Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
2991
3013
  - `NEW_COMPONENT: string = 'EuiToolbarMegaMenuComponent'`
@@ -3082,7 +3104,7 @@ Properties:
3082
3104
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3083
3105
  - `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
3084
3106
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3085
- - `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent: Element | Document | null = nativeEl.offsetParent || document; while (offsetParent && offsetP…` — returns the closest, non-statically positioned parentOffset of a given element
3107
+ - `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent: Element | Document | null = nativeEl.offsetParent || document; while (offsetParent !== null &…` — returns the closest, non-statically positioned parentOffset of a given element
3086
3108
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
3087
3109
  - `PLATFORM_BROWSER_ID: string = 'browser'`
3088
3110
  Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
@@ -3130,6 +3152,8 @@ Properties:
3130
3152
  Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
3131
3153
  - `SELECTOR_MAPPINGS: readonly SelectorMapping[] = [ { oldTag: 'ecl-timeline', newTag: 'ol', attribute: 'eclTimeline' }, { oldTag: 'ecl-timeline-item', newTag: 'li', attribute: 'eclTimelineItem' }, { oldTag: 'ec…`
3132
3154
  Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
3155
+ - `SELECTOR_TAG: string = 'eui-date-range-selector'`
3156
+ Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
3133
3157
  - `SHOW_CONNECTION_STATUS_TOKEN: unknown = new InjectionToken<boolean>('SHOW_CONNECTION_STATUS')`
3134
3158
  Defined in `packages/core/src/lib/services/config/tokens.ts`
3135
3159
  - `SUFFIX_MAP: unknown[] = [ [':sharp', ':ion-filled'], [':outline', ':ion-outline'], ]` — Suffix-based mapping: :sharp -\> :ion-filled, :outline -\> :ion-outline
@@ -3164,7 +3188,7 @@ Properties:
3164
3188
  Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
3165
3189
  - `TS_PROPERTY_RENAMES: unknown = new Map([['filteredRows', 'getFilteredData']])`
3166
3190
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3167
- - `uniqueId: unknown = (): string => Math.random().toString(36).substring(2, 9)` — returns a random string with radix=36
3191
+ - `uniqueId: unknown = (): string => { const array = new Uint32Array(1); crypto.getRandomValues(array); return array[0].toString(36).padStart(7, '0').substring(0, 7); }` — returns a random string with radix=36
3168
3192
  Defined in `packages/core/src/lib/helpers/format-helpers.ts`
3169
3193
  - `updateAppConnection: unknown = (state: AppState, action: UpdateAppConnectionAction): AppState => ({ ...state, connected: action.payload })`
3170
3194
  Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`