@ethlete/cdk 5.0.0-next.23 → 5.0.0-next.25

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 CHANGED
@@ -1,5 +1,35 @@
1
1
  # @ethlete/cdk
2
2
 
3
+ ## 5.0.0-next.25
4
+
5
+ ### Minor Changes
6
+
7
+ - [`d49bfa1`](https://github.com/ethlete-io/ethdk/commit/d49bfa143e802f46a09c907e17df9d0f403aa25b) Thanks [@TomTomB](https://github.com/TomTomB)! - Add `nx g @ethlete/cdk:migrate-from-cdk`. Driven by `migration-map.json`, it rewrites the mechanical part of a
8
+ cdk → components migration (import moves and renames, skeleton `shape="rect"`, the spinner and picture template
9
+ inputs) and reports the rest in `migrate-from-cdk-tasks.md`: missing picture `alt`, class inputs grouped by
10
+ sizing mode, themed spinners, reshaped symbols, and successors that need a newer `@ethlete/components`.
11
+
12
+ - [#3042](https://github.com/ethlete-io/ethdk/pull/3042) [`29621bd`](https://github.com/ethlete-io/ethdk/commit/29621bd091fcb262e4dd0eb52f0f5b75ceb1ba1b) Thanks [@github-actions](https://github.com/apps/github-actions)! - Ship a machine-readable migration map at `@ethlete/cdk/migration-map.json`: every public export of the
13
+ barrel with its `@ethlete/components` or `@ethlete/core` successor, the kind of change (`move`, `rename`,
14
+ `reshape`, `rename+reshape`, `replaced-by`, `removed`) and a docs link.
15
+
16
+ ## 5.0.0-next.24
17
+
18
+ ### Patch Changes
19
+
20
+ - [#3041](https://github.com/ethlete-io/ethdk/pull/3041) [`6c9d38d`](https://github.com/ethlete-io/ethdk/commit/6c9d38d7e6b41586d7c9abb3296e5f45ccc3767c) Thanks [@github-actions](https://github.com/apps/github-actions)! - `@ethlete/core` no longer depends on `@angular/cdk`: `injectBreakpointObserver()` is a plain
21
+ `matchMedia` implementation (same API), and `AnimatedOverlayDirective` moved to `@ethlete/cdk` -
22
+ import it from there.
23
+
24
+ - [#3041](https://github.com/ethlete-io/ethdk/pull/3041) [`353777b`](https://github.com/ethlete-io/ethdk/commit/353777bb56e42ad1c02058a2ccf694f69c94b025) Thanks [@github-actions](https://github.com/apps/github-actions)! - Mark build-tooling peer dependencies (`vite`, `typescript`, `ts-morph`, `@nx/devkit`, `@analogjs/*`) and feature-scoped runtime peers (`date-fns` in components) as optional via `peerDependenciesMeta`. They are only needed when running the Nx generators or using the date/time components - consumers no longer have to install them just to use the libraries.
25
+
26
+ - [#3041](https://github.com/ethlete-io/ethdk/pull/3041) [`42ec970`](https://github.com/ethlete-io/ethdk/commit/42ec970d6963bb5a3aa3af4e207ef2cac801c915) Thanks [@github-actions](https://github.com/apps/github-actions)! - DI: `createProvider` / `createRootProvider` / `createStaticProvider` / `createStaticRootProvider` /
27
+ `createLabels` are replaced by `defineProvider` & co., which return a definition you read with
28
+ `toProvideFn` / `toInjectFn` / `toToken`; `createQueryClient`, `createBearerAuthProvider` and
29
+ `createWebSocketClient` return that definition instead of a tuple. Every `provideX` / `injectX` /
30
+ token export keeps its name - run `nx g @ethlete/core:migrate-provider-shape` for your own call sites.
31
+ Cuts the `@ethlete/components` import floor from 89.9 to 2.4 kB gz.
32
+
3
33
  ## 5.0.0-next.23
4
34
 
5
35
  ### Patch Changes
@@ -8,11 +38,11 @@
8
38
 
9
39
  - [#3037](https://github.com/ethlete-io/ethdk/pull/3037) [`3151b7a`](https://github.com/ethlete-io/ethdk/commit/3151b7a253d14e38e22e20d67bf0191f141c144e) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add `ethlete/no-template-literal-before-inline-template`, and restructure the files it flagged.
10
40
 
11
- The Angular VS Code extension decides **client-side** whether the cursor sits inside an inline `template:` before it forwards completion, hover, go-to-definition or signature-help to the language server. That check (`isNotTypescriptOrSupportedDecoratorField`) walks the file with a bare `ts.createScanner()` loop, which cannot re-scan `}` as `TemplateMiddle`/`TemplateTail` — that needs the parser's `reScanTemplateToken()`. So the first template literal containing a `${…}` substitution desynchronises both the token stream and the brace counter, the scanner never recognises `template` `:` again, and every template request below it is dropped. The language server answers those requests correctly; the editor just never asks, so the template silently has no IntelliSense at all.
41
+ The Angular VS Code extension decides **client-side** whether the cursor sits inside an inline `template:` before it forwards completion, hover, go-to-definition or signature-help to the language server. That check (`isNotTypescriptOrSupportedDecoratorField`) walks the file with a bare `ts.createScanner()` loop, which cannot re-scan `}` as `TemplateMiddle`/`TemplateTail` - that needs the parser's `reScanTemplateToken()`. So the first template literal containing a `${…}` substitution desynchronises both the token stream and the brace counter, the scanner never recognises `template` `:` again, and every template request below it is dropped. The language server answers those requests correctly; the editor just never asks, so the template silently has no IntelliSense at all.
12
42
 
13
- The new rule reproduces that scanner verbatim, so it reports exactly the templates the extension would abandon — no heuristic. Twenty inline templates across `components`, `cdk` and the playground were affected, all of them behind a fixture or helper that happened to use an interpolated template literal. Story fixtures moved into sibling `*-storybook.data.ts` files; spec fixtures and in-class helpers that must stay above their component (because a later `@Component` references the class in `imports`) were rewritten without the interpolation.
43
+ The new rule reproduces that scanner verbatim, so it reports exactly the templates the extension would abandon - no heuristic. Twenty inline templates across `components`, `cdk` and the playground were affected, all of them behind a fixture or helper that happened to use an interpolated template literal. Story fixtures moved into sibling `*-storybook.data.ts` files; spec fixtures and in-class helpers that must stay above their component (because a later `@Component` references the class in `imports`) were rewritten without the interpolation.
14
44
 
15
- No public API changed — the `components` and `cdk` bumps are story/spec restructuring plus moving `signalVisibilityChangeClasses` below `RichFilterHostComponent` in the same module.
45
+ No public API changed - the `components` and `cdk` bumps are story/spec restructuring plus moving `signalVisibilityChangeClasses` below `RichFilterHostComponent` in the same module.
16
46
 
17
47
  ## 5.0.0-next.22
18
48
 
@@ -29,7 +59,7 @@
29
59
  `et-menu`, `et-radio`, `et-select`, `et-checkbox`, `et-tooltip`, …), apps that
30
60
  consume both libraries at once can no longer target one without hitting the
31
61
  other. Every cdk element now carries `et-legacy` alongside its usual classes, so
32
- consumer overrides can be scoped to the cdk implementation only — e.g. rewrite
62
+ consumer overrides can be scoped to the cdk implementation only - e.g. rewrite
33
63
  `.et-overlay { … }` as `.et-overlay.et-legacy { … }`. The marker is inert (no cdk
34
64
  CSS references it), so cdk rendering is unchanged.
35
65
 
@@ -82,11 +112,11 @@
82
112
 
83
113
  - [#2996](https://github.com/ethlete-io/ethdk/pull/2996) [`b64e055`](https://github.com/ethlete-io/ethdk/commit/b64e0553c6480d5efde342675fd09899f0d45c0f) Thanks [@baltruschat](https://github.com/baltruschat)! - Position winner rounds correctly when the winner bracket starts after round 1
84
114
 
85
- Some double elimination brackets omit the early winner rounds — e.g. a small bracket where the first lower round is seeded directly from a group phase and has no winner round feeding it. The grid previously placed the first present winner round in the leftmost column, so every winner round was one column too far left relative to its drop-in lower round. The grid now detects the missing leading winner rounds (a complete winner bracket has lowerRounds / 2 + 1 rounds) and leaves those leading slots empty, so each present winner round lines up above the lower round its losers actually drop into.
115
+ Some double elimination brackets omit the early winner rounds - e.g. a small bracket where the first lower round is seeded directly from a group phase and has no winner round feeding it. The grid previously placed the first present winner round in the leftmost column, so every winner round was one column too far left relative to its drop-in lower round. The grid now detects the missing leading winner rounds (a complete winner bracket has lowerRounds / 2 + 1 rounds) and leaves those leading slots empty, so each present winner round lines up above the lower round its losers actually drop into.
86
116
 
87
117
  - [#2996](https://github.com/ethlete-io/ethdk/pull/2996) [`b64e055`](https://github.com/ethlete-io/ethdk/commit/b64e0553c6480d5efde342675fd09899f0d45c0f) Thanks [@baltruschat](https://github.com/baltruschat)! - Align winner bracket rounds above their drop-in loser round
88
118
 
89
- In the double elimination grid, winner bracket rounds that span two lower bracket columns were centered over that span, leaving them half a column off from the loser round they relate to. They are now left-aligned within the span so winner round n sits directly above the loser round its losers drop into (round 2n − 2) — the round whose matches merge into the next one — making the drop target unambiguous. The first winner round and the winner final are single-column and stay in place; lower rounds and other brackets are unaffected.
119
+ In the double elimination grid, winner bracket rounds that span two lower bracket columns were centered over that span, leaving them half a column off from the loser round they relate to. They are now left-aligned within the span so winner round n sits directly above the loser round its losers drop into (round 2n − 2) - the round whose matches merge into the next one - making the drop target unambiguous. The first winner round and the winner final are single-column and stay in place; lower rounds and other brackets are unaffected.
90
120
 
91
121
  - [#2996](https://github.com/ethlete-io/ethdk/pull/2996) [`b64e055`](https://github.com/ethlete-io/ethdk/commit/b64e0553c6480d5efde342675fd09899f0d45c0f) Thanks [@baltruschat](https://github.com/baltruschat)! - Fix rendering of truncated double elimination brackets
92
122