@eui/core 22.0.0-alpha.69 → 22.0.0-alpha.70
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.
- package/CHANGELOG.md +18 -0
- package/docs/changelog.html +10 -0
- package/docs/classes/EuiAppShellServiceMock.html +1 -1
- package/docs/injectables/ApiQueueService.html +2 -2
- package/docs/injectables/EuiTimezoneService.html +1 -1
- package/docs/injectables/I18nServiceMock.html +20 -5
- package/docs/injectables/StoreService.html +1 -1
- package/docs/interfaces/Edit-2.html +1 -1
- package/docs/interfaces/Edit-3.html +1 -1
- package/docs/interfaces/IEuiTheme.html +4 -4
- package/docs/interfaces/ModuleLoadEvent.html +2 -2
- package/docs/interfaces/Schema-13.html +8 -25
- package/docs/interfaces/Schema-14.html +6 -8
- package/docs/interfaces/Schema-15.html +14 -6
- package/docs/interfaces/Schema-16.html +23 -12
- package/docs/interfaces/Schema-5.html +2 -0
- package/docs/interfaces/Schema-6.html +14 -8
- package/docs/interfaces/Schema-7.html +8 -13
- package/docs/interfaces/Schema-8.html +2 -1
- package/docs/interfaces/TodoEdit.html +395 -0
- package/docs/js/menu-wc.js +3 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +1972 -1565
- package/docs/llms.txt +98 -83
- package/docs/miscellaneous/functions.html +768 -557
- package/docs/miscellaneous/variables.html +78 -38
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +67 -41
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/migrate-ecl-file/index.d.ts +3 -0
- package/schematics/migrate-ecl-file/index.js +17 -5
- package/schematics/migrate-ecl-file/index.js.map +1 -1
- package/schematics/migrate-ecl-icon/index.d.ts +2 -1
- package/schematics/migrate-ecl-icon/index.js +9 -4
- package/schematics/migrate-ecl-icon/index.js.map +1 -1
- package/schematics/migrate-ecl-link/index.d.ts +2 -1
- package/schematics/migrate-ecl-link/index.js +8 -3
- package/schematics/migrate-ecl-link/index.js.map +1 -1
- package/schematics/utils/todo-comment.d.ts +25 -0
- package/schematics/utils/todo-comment.js +47 -0
- package/schematics/utils/todo-comment.js.map +1 -0
- package/types/eui-core.d.ts +32 -32
- package/types/eui-core.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 22.0.0-alpha.70 (2026-11-18)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **eui-ecl:**
|
|
6
|
+
* enable TypeScript strict mode - EUI-13061 [EUI-13061](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-13061) ([4b86d66c](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/4b86d66cd948216e14fb5e5fce4abdbb606b85c2))
|
|
7
|
+
* improved comments for ecl-migration unresolved conflicts, fixed errors in some tests EUI-13054 [EUI-13054](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-13054) ([a8140a9d](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/a8140a9d950953c31841f83e4f521c750c86be15))
|
|
8
|
+
* **base:**
|
|
9
|
+
* adapt to strict mode - check strict-mode-report.md for details - contains BREAKING CHANGES - EUI-12528 [EUI-12528](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-12528) ([e0741ea2](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/e0741ea2990278c9414e1f1287231f50ef7dce43))
|
|
10
|
+
* **ecl-cli:**
|
|
11
|
+
* fixed error for baseUrl EUI-13060 [EUI-13060](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-13060) ([9fafaa75](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/9fafaa75ae00570341dcbc85447857c3c5f0e032))
|
|
12
|
+
* **other:**
|
|
13
|
+
* Fix position of the arrow tooltip when fallback position is applied - EUI-13059 [EUI-13059](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-13059) ([dca0da31](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/dca0da31486b3d717b1fa66f728914413238898b))
|
|
14
|
+
* **eui-autocomplete:**
|
|
15
|
+
* Fix typing issue in CLI - EUI-13052 [EUI-13052](https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-13052) ([a86fc93c](https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/a86fc93c72433feb1b944262e3045d70f03bc83f))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 22.0.0-alpha.69 (2026-11-17)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/docs/changelog.html
CHANGED
|
@@ -106,6 +106,16 @@
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
+
<h2>22.0.0-alpha.69 (2026-11-17)</h2>
|
|
110
|
+
<h5>Chores</h5>
|
|
111
|
+
<ul>
|
|
112
|
+
<li><strong>other:</strong><ul>
|
|
113
|
+
<li>rebuild - EUI-12528 <a href="https://citnet.tech.ec.europa.eu/CITnet/jira/browse/EUI-12528">EUI-12528</a> (<a href="https://sdlc.aws.cloud.tech.ec.europa.eu/csdr/eui/eui/-/commit/5528846715b95402ae36d748152c178649418b1e">55288467</a>)</li>
|
|
114
|
+
</ul>
|
|
115
|
+
</li>
|
|
116
|
+
</ul>
|
|
117
|
+
<hr>
|
|
118
|
+
<hr>
|
|
109
119
|
<h2>22.0.0-alpha.68 (2026-11-17)</h2>
|
|
110
120
|
<h5>Chores</h5>
|
|
111
121
|
<ul>
|
|
@@ -516,7 +516,7 @@ this.getQueueItem('item123').subscribe(item => {
|
|
|
516
516
|
</table>
|
|
517
517
|
</div>
|
|
518
518
|
<div class="io-description">
|
|
519
|
-
<b>Returns : </b> <code>Observable<ApiQueueItem></code>
|
|
519
|
+
<b>Returns : </b> <code>Observable<ApiQueueItem | null></code>
|
|
520
520
|
|
|
521
521
|
</div>
|
|
522
522
|
<div class="io-description">
|
|
@@ -792,7 +792,7 @@ this.processQueueItem('item123').subscribe(result => {
|
|
|
792
792
|
</table>
|
|
793
793
|
</div>
|
|
794
794
|
<div class="io-description">
|
|
795
|
-
<b>Returns : </b> <code>Observable<T></code>
|
|
795
|
+
<b>Returns : </b> <code>Observable<T | null></code>
|
|
796
796
|
|
|
797
797
|
</div>
|
|
798
798
|
<div class="io-description">
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
</table>
|
|
280
280
|
</div>
|
|
281
281
|
<div class="io-description">
|
|
282
|
-
<b>Returns : </b> <code><a href="../interfaces/EuiTimeZone.html" target="_self" >EuiTimeZone</a></code>
|
|
282
|
+
<b>Returns : </b> <code><a href="../interfaces/EuiTimeZone.html" target="_self" >EuiTimeZone | undefined</a></code>
|
|
283
283
|
|
|
284
284
|
</div>
|
|
285
285
|
<div class="io-description">
|
|
@@ -188,22 +188,27 @@
|
|
|
188
188
|
<ul class="index-list">
|
|
189
189
|
<li>
|
|
190
190
|
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
191
|
+
<span class="modifier"></span>
|
|
191
192
|
<a href="#addResources" >addResources</a>
|
|
192
193
|
</li>
|
|
193
194
|
<li>
|
|
194
195
|
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
196
|
+
<span class="modifier"></span>
|
|
195
197
|
<a href="#getState" >getState</a>
|
|
196
198
|
</li>
|
|
197
199
|
<li>
|
|
198
200
|
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
201
|
+
<span class="modifier"></span>
|
|
199
202
|
<a href="#init" >init</a>
|
|
200
203
|
</li>
|
|
201
204
|
<li>
|
|
202
205
|
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
206
|
+
<span class="modifier"></span>
|
|
203
207
|
<a href="#lazyLoadInit" >lazyLoadInit</a>
|
|
204
208
|
</li>
|
|
205
209
|
<li>
|
|
206
210
|
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
211
|
+
<span class="modifier"></span>
|
|
207
212
|
<a href="#updateState" >updateState</a>
|
|
208
213
|
</li>
|
|
209
214
|
<li>
|
|
@@ -277,6 +282,7 @@
|
|
|
277
282
|
<td class="col-md-4">
|
|
278
283
|
<a name="addResources"></a>
|
|
279
284
|
<span class="name">
|
|
285
|
+
<span class="modifier"></span>
|
|
280
286
|
<span ><b>addResources</b></span>
|
|
281
287
|
<a href="#addResources"><span class="icon ion-ios-link"></span></a>
|
|
282
288
|
</span>
|
|
@@ -284,7 +290,8 @@
|
|
|
284
290
|
</tr>
|
|
285
291
|
<tr>
|
|
286
292
|
<td class="col-md-4">
|
|
287
|
-
<
|
|
293
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
294
|
+
<code>addResources()</code>
|
|
288
295
|
</td>
|
|
289
296
|
</tr>
|
|
290
297
|
|
|
@@ -308,6 +315,7 @@
|
|
|
308
315
|
<td class="col-md-4">
|
|
309
316
|
<a name="getState"></a>
|
|
310
317
|
<span class="name">
|
|
318
|
+
<span class="modifier"></span>
|
|
311
319
|
<span ><b>getState</b></span>
|
|
312
320
|
<a href="#getState"><span class="icon ion-ios-link"></span></a>
|
|
313
321
|
</span>
|
|
@@ -315,7 +323,8 @@
|
|
|
315
323
|
</tr>
|
|
316
324
|
<tr>
|
|
317
325
|
<td class="col-md-4">
|
|
318
|
-
<
|
|
326
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
327
|
+
<code>getState()</code>
|
|
319
328
|
</td>
|
|
320
329
|
</tr>
|
|
321
330
|
|
|
@@ -339,6 +348,7 @@
|
|
|
339
348
|
<td class="col-md-4">
|
|
340
349
|
<a name="init"></a>
|
|
341
350
|
<span class="name">
|
|
351
|
+
<span class="modifier"></span>
|
|
342
352
|
<span ><b>init</b></span>
|
|
343
353
|
<a href="#init"><span class="icon ion-ios-link"></span></a>
|
|
344
354
|
</span>
|
|
@@ -346,7 +356,8 @@
|
|
|
346
356
|
</tr>
|
|
347
357
|
<tr>
|
|
348
358
|
<td class="col-md-4">
|
|
349
|
-
<
|
|
359
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
360
|
+
<code>init(i18nState?: I18nState)</code>
|
|
350
361
|
</td>
|
|
351
362
|
</tr>
|
|
352
363
|
|
|
@@ -400,6 +411,7 @@
|
|
|
400
411
|
<td class="col-md-4">
|
|
401
412
|
<a name="lazyLoadInit"></a>
|
|
402
413
|
<span class="name">
|
|
414
|
+
<span class="modifier"></span>
|
|
403
415
|
<span ><b>lazyLoadInit</b></span>
|
|
404
416
|
<a href="#lazyLoadInit"><span class="icon ion-ios-link"></span></a>
|
|
405
417
|
</span>
|
|
@@ -407,7 +419,8 @@
|
|
|
407
419
|
</tr>
|
|
408
420
|
<tr>
|
|
409
421
|
<td class="col-md-4">
|
|
410
|
-
<
|
|
422
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
423
|
+
<code>lazyLoadInit()</code>
|
|
411
424
|
</td>
|
|
412
425
|
</tr>
|
|
413
426
|
|
|
@@ -431,6 +444,7 @@
|
|
|
431
444
|
<td class="col-md-4">
|
|
432
445
|
<a name="updateState"></a>
|
|
433
446
|
<span class="name">
|
|
447
|
+
<span class="modifier"></span>
|
|
434
448
|
<span ><b>updateState</b></span>
|
|
435
449
|
<a href="#updateState"><span class="icon ion-ios-link"></span></a>
|
|
436
450
|
</span>
|
|
@@ -438,7 +452,8 @@
|
|
|
438
452
|
</tr>
|
|
439
453
|
<tr>
|
|
440
454
|
<td class="col-md-4">
|
|
441
|
-
<
|
|
455
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
456
|
+
<code>updateState(i18nState: I18nState)</code>
|
|
442
457
|
</td>
|
|
443
458
|
</tr>
|
|
444
459
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-icon/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-inpage-navigation/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
</tr>
|
|
210
210
|
<tr>
|
|
211
211
|
<td class="col-md-4">
|
|
212
|
-
<code>cssClass:
|
|
212
|
+
<code>cssClass: <code>string | null</code>
|
|
213
213
|
</code>
|
|
214
214
|
</td>
|
|
215
215
|
</tr>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
<tr>
|
|
219
219
|
<td class="col-md-4">
|
|
220
|
-
<i>Type : </i>
|
|
220
|
+
<i>Type : </i> <code>string | null</code>
|
|
221
221
|
|
|
222
222
|
</td>
|
|
223
223
|
</tr>
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
</tr>
|
|
312
312
|
<tr>
|
|
313
313
|
<td class="col-md-4">
|
|
314
|
-
<code>styleSheet:
|
|
314
|
+
<code>styleSheet: <code>string | null</code>
|
|
315
315
|
</code>
|
|
316
316
|
</td>
|
|
317
317
|
</tr>
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
|
|
320
320
|
<tr>
|
|
321
321
|
<td class="col-md-4">
|
|
322
|
-
<i>Type : </i>
|
|
322
|
+
<i>Type : </i> <code>string | null</code>
|
|
323
323
|
|
|
324
324
|
</td>
|
|
325
325
|
</tr>
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
</tr>
|
|
245
245
|
<tr>
|
|
246
246
|
<td class="col-md-4">
|
|
247
|
-
<code>name:
|
|
247
|
+
<code>name: <code>string | null | undefined</code>
|
|
248
248
|
</code>
|
|
249
249
|
</td>
|
|
250
250
|
</tr>
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
|
|
253
253
|
<tr>
|
|
254
254
|
<td class="col-md-4">
|
|
255
|
-
<i>Type : </i>
|
|
255
|
+
<i>Type : </i> <code>string | null | undefined</code>
|
|
256
256
|
|
|
257
257
|
</td>
|
|
258
258
|
</tr>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-site-footer/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,30 +154,13 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>
|
|
158
|
-
|
|
159
|
-
<p>
|
|
160
|
-
<
|
|
161
|
-
<
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
</ol>
|
|
165
|
-
<p>It makes <strong>no other edits</strong> — it never comments out, deletes, or rewrites the
|
|
166
|
-
user's code. These removed members require a developer decision (they are
|
|
167
|
-
components/directives with different APIs, or have no replacement), so the
|
|
168
|
-
schematic only points at what needs attention and leaves the change to the
|
|
169
|
-
developer. Searching a project for <code>TODO: [eUI v22 migration]</code> after the run
|
|
170
|
-
surfaces every spot to migrate.</p>
|
|
171
|
-
<p>Removed members handled:</p>
|
|
172
|
-
<ul>
|
|
173
|
-
<li><code>EclDatePickerDirective</code> (<code>input[eclDatePicker]</code>) → <code>EclDatePickerDuetDirective</code>
|
|
174
|
-
on <code><duet-date-picker eclDatePicker></code>.</li>
|
|
175
|
-
<li><code>EUI_ECL_DATE_PICKER</code> — still exported (now provides the Duet directive);
|
|
176
|
-
only the markup needs updating.</li>
|
|
177
|
-
<li><code>EclSiteHeaderBannerTopComponent</code> (<code>ecl-site-header-banner-top</code>) → removed, no replacement.</li>
|
|
178
|
-
<li><code>EclPageHeaderNextComponent</code> → removed, no longer exported.</li>
|
|
179
|
-
<li><code>EclRadioHelpComponent</code> (<code>[eclRadioHelp]</code>) → <code>[eclHelpBlock]</code> (<code>EclHelpBlockDirective</code>).</li>
|
|
180
|
-
</ul>
|
|
157
|
+
<p>Migrates the removed <code>ecl-site-footer</code> element selector to
|
|
158
|
+
<code>footer[eclSiteFooter]</code>.</p>
|
|
159
|
+
<p>In v22 the <code>ecl-site-footer</code> element selector was removed; the component only
|
|
160
|
+
matches <code>footer[eclSiteFooter]</code>. This schematic rewrites <code><ecl-site-footer></code>
|
|
161
|
+
to <code><footer eclSiteFooter></code> (and the closing tag to <code></footer></code>) in external
|
|
162
|
+
<code>.html</code> templates and inline <code>@Component</code> templates, preserving existing
|
|
163
|
+
attributes and content.</p>
|
|
181
164
|
|
|
182
165
|
</p>
|
|
183
166
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-tabs/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,13 +154,11 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>Migrates the removed <code>ecl-
|
|
158
|
-
<code>
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<code>.html</code> templates and inline <code>@Component</code> templates, preserving existing
|
|
163
|
-
attributes and content.</p>
|
|
157
|
+
<p>Migrates the removed <code>ecl-tab</code> element selector to <code>div[eclTab]</code>.</p>
|
|
158
|
+
<p>In v22 the legacy <code>ecl-tab</code> element selector was removed; the component only
|
|
159
|
+
matches <code>div[eclTab]</code>. This schematic rewrites <code><ecl-tab></code> to <code><div eclTab></code>
|
|
160
|
+
(and the closing tag to <code></div></code>) in external <code>.html</code> templates and inline
|
|
161
|
+
<code>@Component</code> templates, preserving existing attributes and content.</p>
|
|
164
162
|
|
|
165
163
|
</p>
|
|
166
164
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-timeline/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,11 +154,19 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>Migrates the removed <code>ecl-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<
|
|
157
|
+
<p>Migrates the removed <code>ecl-timeline</code> element selectors to their
|
|
158
|
+
attribute-selector equivalents.</p>
|
|
159
|
+
<p>In v22 the timeline element selectors were removed in favour of attribute
|
|
160
|
+
selectors on specific host elements:</p>
|
|
161
|
+
<ul>
|
|
162
|
+
<li><code>ecl-timeline</code> → <code>ol[eclTimeline]</code></li>
|
|
163
|
+
<li><code>ecl-timeline-item</code> → <code>li[eclTimelineItem]</code></li>
|
|
164
|
+
<li><code>ecl-timeline-item-toggler</code> → <code>li[eclTimelineItemToggler]</code></li>
|
|
165
|
+
</ul>
|
|
166
|
+
<p>This schematic rewrites the element tags and injects the attribute directive
|
|
167
|
+
(e.g. <code><ecl-timeline></code> → <code><ol eclTimeline></code>, <code></ecl-timeline></code> → <code></ol></code>) in
|
|
168
|
+
external <code>.html</code> templates and inline <code>@Component</code> templates, preserving
|
|
169
|
+
existing attributes and content.</p>
|
|
162
170
|
|
|
163
171
|
</p>
|
|
164
172
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-removed-components/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,19 +154,30 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>
|
|
158
|
-
|
|
159
|
-
<p>
|
|
160
|
-
|
|
157
|
+
<p>Flags usages of ECL members removed in v22 that have no automatic drop-in
|
|
158
|
+
replacement.</p>
|
|
159
|
+
<p>For each usage it:</p>
|
|
160
|
+
<ol>
|
|
161
|
+
<li>Logs a precise manual-action warning.</li>
|
|
162
|
+
<li>Inserts a <code>TODO: [eUI v22 migration] ...</code> comment on the line above the
|
|
163
|
+
usage so it is easy to locate in the editor.</li>
|
|
164
|
+
</ol>
|
|
165
|
+
<p>It makes <strong>no other edits</strong> — it never comments out, deletes, or rewrites the
|
|
166
|
+
user's code. These removed members require a developer decision (they are
|
|
167
|
+
components/directives with different APIs, or have no replacement), so the
|
|
168
|
+
schematic only points at what needs attention and leaves the change to the
|
|
169
|
+
developer. Searching a project for <code>TODO: [eUI v22 migration]</code> after the run
|
|
170
|
+
surfaces every spot to migrate.</p>
|
|
171
|
+
<p>Removed members handled:</p>
|
|
161
172
|
<ul>
|
|
162
|
-
<li><code>
|
|
163
|
-
<
|
|
164
|
-
<li><code>
|
|
173
|
+
<li><code>EclDatePickerDirective</code> (<code>input[eclDatePicker]</code>) → <code>EclDatePickerDuetDirective</code>
|
|
174
|
+
on <code><duet-date-picker eclDatePicker></code>.</li>
|
|
175
|
+
<li><code>EUI_ECL_DATE_PICKER</code> — still exported (now provides the Duet directive);
|
|
176
|
+
only the markup needs updating.</li>
|
|
177
|
+
<li><code>EclSiteHeaderBannerTopComponent</code> (<code>ecl-site-header-banner-top</code>) → removed, no replacement.</li>
|
|
178
|
+
<li><code>EclPageHeaderNextComponent</code> → removed, no longer exported.</li>
|
|
179
|
+
<li><code>EclRadioHelpComponent</code> (<code>[eclRadioHelp]</code>) → <code>[eclHelpBlock]</code> (<code>EclHelpBlockDirective</code>).</li>
|
|
165
180
|
</ul>
|
|
166
|
-
<p>This schematic rewrites the element tags and injects the attribute directive
|
|
167
|
-
(e.g. <code><ecl-timeline></code> → <code><ol eclTimeline></code>, <code></ecl-timeline></code> → <code></ol></code>) in
|
|
168
|
-
external <code>.html</code> templates and inline <code>@Component</code> templates, preserving
|
|
169
|
-
existing attributes and content.</p>
|
|
170
181
|
|
|
171
182
|
</p>
|
|
172
183
|
|
|
@@ -168,6 +168,8 @@ left in place and a warning is emitted.</li>
|
|
|
168
168
|
<li><code>isDescription</code> → removed (unused).</li>
|
|
169
169
|
<li><code>label</code> → renamed to <code>eclTitle</code>.</li>
|
|
170
170
|
</ul>
|
|
171
|
+
<p>Cases that cannot be fixed automatically are reported with a warning and a
|
|
172
|
+
<code>TODO: [eUI v22 migration]</code> HTML comment placed above the element.</p>
|
|
171
173
|
<p>Renames rewrite only the attribute/binding key, preserving the value and any
|
|
172
174
|
binding brackets. Removals drop the whole attribute plus leading whitespace.
|
|
173
175
|
Works on external <code>.html</code> templates and inline <code>@Component</code> templates.</p>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-icon/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,13 +154,19 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>Migrates the
|
|
158
|
-
<code>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<code
|
|
157
|
+
<p>Migrates the <code>ecl-icon</code> <code>iconSet</code> input for ECL v21 → v22.</p>
|
|
158
|
+
<p>In v22 <code>EclIconSet</code> became a strict union and the legacy <code>'social'</code> alias was
|
|
159
|
+
removed:</p>
|
|
160
|
+
<ul>
|
|
161
|
+
<li><code>iconSet="social"</code> → <code>iconSet="social-media"</code> (both resolved to the same
|
|
162
|
+
sprite; safe automatic rename).</li>
|
|
163
|
+
<li>Any other static <code>iconSet</code> value that is not part of the supported union
|
|
164
|
+
is now a TypeScript error. The schematic cannot know the intended set, so
|
|
165
|
+
it reports a warning and adds a <code>TODO: [eUI v22 migration]</code> HTML comment
|
|
166
|
+
above the element for manual review rather than guessing.</li>
|
|
167
|
+
</ul>
|
|
168
|
+
<p>Rewrites external <code>.html</code> templates and inline <code>@Component</code> templates. Only
|
|
169
|
+
<code><ecl-icon></code> elements are considered.</p>
|
|
164
170
|
|
|
165
171
|
</p>
|
|
166
172
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
131
131
|
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
132
|
-
<code>packages/core/schematics/migrate-ecl-
|
|
132
|
+
<code>packages/core/schematics/migrate-ecl-inpage-navigation/index.ts</code>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<ul class="nav nav-tabs" role="tablist">
|
|
@@ -154,18 +154,13 @@
|
|
|
154
154
|
<h3>Description</h3>
|
|
155
155
|
</p>
|
|
156
156
|
<p class="comment">
|
|
157
|
-
<p>Migrates the <code>ecl-
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
<
|
|
161
|
-
<
|
|
162
|
-
|
|
163
|
-
<
|
|
164
|
-
is now a TypeScript error. The schematic cannot know the intended set, so
|
|
165
|
-
it reports a warning for manual review rather than guessing.</li>
|
|
166
|
-
</ul>
|
|
167
|
-
<p>Rewrites external <code>.html</code> templates and inline <code>@Component</code> templates. Only
|
|
168
|
-
<code><ecl-icon></code> elements are considered.</p>
|
|
157
|
+
<p>Migrates the removed <code>ecl-inpage-navigation-item</code> element selector to
|
|
158
|
+
<code>li[eclInpageNavigationItem]</code>.</p>
|
|
159
|
+
<p>In v22 the legacy <code>ecl-inpage-navigation-item</code> element selector was removed;
|
|
160
|
+
the component only matches <code>li[eclInpageNavigationItem]</code>. This schematic
|
|
161
|
+
rewrites <code><ecl-inpage-navigation-item></code> to <code><li eclInpageNavigationItem></code> (and
|
|
162
|
+
the closing tag to <code></li></code>) in external <code>.html</code> templates and inline
|
|
163
|
+
<code>@Component</code> templates, preserving existing attributes and content.</p>
|
|
169
164
|
|
|
170
165
|
</p>
|
|
171
166
|
|
|
@@ -167,7 +167,8 @@ removed and the <code>variant</code> value is set to <code>primary-highlight</co
|
|
|
167
167
|
rewrites external <code>.html</code> templates and inline <code>@Component</code> templates.</p>
|
|
168
168
|
<p>Cases that cannot be rewritten safely (a bound <code>[isHighlight]="expr"</code> with a
|
|
169
169
|
non-literal expression, or a bound <code>[variant]</code> that cannot be statically
|
|
170
|
-
resolved) are left in place
|
|
170
|
+
resolved) are left in place, reported as warnings and marked with a
|
|
171
|
+
<code>TODO: [eUI v22 migration]</code> HTML comment above the element.</p>
|
|
171
172
|
|
|
172
173
|
</p>
|
|
173
174
|
|