@ethlete/cdk 5.0.0-next.5 → 5.0.0-next.50
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 +373 -30
- package/fesm2022/ethlete-cdk.mjs +29295 -18544
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/generators/generators.json +5 -0
- package/generators/migrate-from-cdk/components-classes.js +1170 -0
- package/generators/migrate-from-cdk/imports.js +250 -0
- package/generators/migrate-from-cdk/installed-version.js +86 -0
- package/generators/migrate-from-cdk/migration-map.js +21 -0
- package/generators/migrate-from-cdk/migration-scope.js +30 -0
- package/generators/migrate-from-cdk/migration.js +151 -0
- package/generators/migrate-from-cdk/report.js +401 -0
- package/generators/migrate-from-cdk/schema.json +30 -0
- package/generators/migrate-from-cdk/templates.js +91 -0
- package/generators/migrate-to-v5/cdk-menu.js +3 -8
- package/generators/migrate-to-v5/color-themes.js +110 -6
- package/generators/migrate-to-v5/dialog-bottom-sheet.js +0 -2
- package/generators/migrate-to-v5/et-let.js +2 -2
- package/generators/migrate-to-v5/overlay-positions.js +4 -44
- package/migration-map.json +3611 -0
- package/migrations/from-cdk-decisions.md +41 -0
- package/migrations.json +31 -0
- package/package.json +35 -19
- package/types/ethlete-cdk.d.ts +12592 -8700
package/CHANGELOG.md
CHANGED
|
@@ -1,79 +1,422 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
-
## 5.0.0-next.
|
|
3
|
+
## 5.0.0-next.50
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- New bracket: support a third place match in single elimination (from 4.74.0), and keep its own column after the continue element.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- The migrate-from-cdk codemod now reports cdk table column directives, which render nothing inside `et-table`.
|
|
12
|
+
- Skeleton: add `--et-skeleton-color`, `--et-skeleton-highlight-color`, `--et-skeleton-display` and `--et-skeleton-direction`, keep a nested skeleton silent, and let a `shape="rect"` item keep its `aspect-ratio`.
|
|
13
|
+
|
|
14
|
+
## 5.0.0-next.49
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- The cdk migration knows the new et-scrollable--masked class of the components scrollable.
|
|
19
|
+
- `migrate-from-cdk`: the components class list knows `et-standings-pick-ghost` and `et-tab-group__trigger--active`, and drops `et-standings-pick-handle`.
|
|
20
|
+
|
|
21
|
+
## 5.0.0-next.48
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Apply a carousel `goTo()` called during the navigation lock once the lock ends instead of dropping it.
|
|
26
|
+
- Closing a query-param overlay no longer cancels a pending navigation that already drops its query param, such as a `routerLink` inside the overlay.
|
|
27
|
+
|
|
28
|
+
## 5.0.0-next.47
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- The combobox no longer clears the text you typed when its first options arrive, so that text is still used as the filter.
|
|
33
|
+
- The `migrate-from-cdk` generator now knows the tab group classes of `@ethlete/components`.
|
|
34
|
+
|
|
35
|
+
## 5.0.0-next.46
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Overlay: while the overlay enters, a backdrop click closes it; the second click of a double-click does not, so a double-click on the trigger no longer opens and closes it at once.
|
|
40
|
+
|
|
41
|
+
## 5.0.0-next.45
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- The combobox now closes on Escape pressed during its enter animation instead of ignoring it.
|
|
46
|
+
- The `@nx/devkit` peer range is now `>=23.0.0`, matching the Nx floor of the migration guide.
|
|
47
|
+
- Dialogs and selects now close on an Escape pressed during the enter animation instead of dropping it; the click that opens them still cannot close them.
|
|
48
|
+
- An auto-resized overlay, such as a menu, opened near the viewport bottom now flips to the top instead of staying squeezed below its trigger.
|
|
49
|
+
- The `to-v5` migration now renames `theme` and `altTheme` to `color` and `altColor` only on `et-button`, `et-fab`, `et-icon-button` and `et-text-button` hosts, not on app components with their own `theme` input.
|
|
50
|
+
|
|
51
|
+
## 5.0.0-next.44
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- `etInput` now follows a `[formControl]` that switches to a new FormControl, so errors and the invalid state reflect the current control.
|
|
56
|
+
- Fix `etSort` ignoring a replaced `sortControl`, `sortByControl` or `sortDirectionControl`: it now watches the new control instead of the old one.
|
|
57
|
+
|
|
58
|
+
## 5.0.0-next.43
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Add the new `et-overlay--stacked` class to the list of components classes the cdk migration knows.
|
|
63
|
+
- Update all dependencies to their latest versions (Nx 24, Vitest 5, jsdom 30, ts-morph 28, @types/node 26 and others). The optional `@nx/devkit` peer dependency now requires `^24.0.0`, and the optional `ts-morph` peer of `@ethlete/core` requires `^28.0.0`.
|
|
64
|
+
|
|
65
|
+
## 5.0.0-next.42
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- CDK migration: recognize the current component stylesheet classes, including custom notification content and spinner transitions.
|
|
70
|
+
|
|
71
|
+
## 5.0.0-next.41
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- `BUTTON_IMPORTS` no longer pulls the whole menu into a bundle, and the migrate-from-cdk class list knows the new badge, spinner and PiP stage classes.
|
|
76
|
+
|
|
77
|
+
## 5.0.0-next.40
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- `migrate-from-cdk` knows the `et-label-content` and `et-label-required-marker` classes of `@ethlete/components`.
|
|
82
|
+
|
|
83
|
+
## 5.0.0-next.39
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- Keep a form control's value in `et-combobox` while async options load and when the loaded options do not contain it, instead of overwriting it with `null`.
|
|
88
|
+
|
|
89
|
+
## 5.0.0-next.38
|
|
90
|
+
|
|
91
|
+
### Minor Changes
|
|
92
|
+
|
|
93
|
+
- Peer dependencies are ranges (`^22.1.0` for Angular, `^7.8.0` for RxJS, ...) instead of the workspace's exact versions. The test-only `vite` and `@analogjs/vite-plugin-angular` peers are gone. `migrate-from-cdk` lists app stylesheet `.et-*` selectors that no `@ethlete/components` class matches.
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- `et-accordion` no longer closes an accordion opened through `[isOpen]` when `isOpenByDefault` is false.
|
|
98
|
+
- Fix `et-breadcrumb` collapsing endlessly with few items, masonry `0` keys and narrow layouts, `et-picture` srcset base URLs, and tooltips staying open when `etTooltip` turns null.
|
|
99
|
+
- `createFormChangesTracker` and `createNavigationDismissChecker` report a form cleared to `null` as a change.
|
|
100
|
+
- `createFormChangesTracker().hasChanges` no longer reports the inverse, and both it and `createNavigationDismissChecker` now see a change to `''`, `0` or `false`.
|
|
101
|
+
- The `migrate-from-cdk` task file lists cdk form controls still bound through `formControl`, `formControlName` or `[formGroup]`, grouped by control, as needing signal forms first.
|
|
102
|
+
- Correct the migration map rows for `DATE_TIME_INPUT_FORMAT_TOKEN`, `provideDateTimeFormat`, the `DEFAULT_DATE_*` formats and `QueryButtonDirective`, and the documented defaults of `delayFocusTrap` and the toggletip `offset`.
|
|
103
|
+
- `paginate` handles a `NaN` or fractional `currentPage` and disables "previous" on a non-1 `firstPage`, and `TableDataSource` no longer sets the paginator to page `-1` when a filter matches nothing.
|
|
104
|
+
- `et-picture` keeps a srcset URL that contains a comma (such as a Cloudinary transform) intact when it applies the base URL or picks the fallback image.
|
|
105
|
+
- Name the hostDirective wrapper case and the injection context of `queryButtonSourceFromV2Query` in the `QueryButton*` migration notes.
|
|
106
|
+
- `et-query-error` shows the default message instead of throwing when an error response carries an empty violation or message list.
|
|
107
|
+
- The `et-query-error` retry button no longer submits a surrounding form.
|
|
108
|
+
- Page Up and Page Down in a cdk select or combobox move to the nearest enabled option when the first or last option is disabled.
|
|
109
|
+
- Keep a falsy option such as `0` or `''` selectable in the combobox, and stop `SelectionModel.getOptionByOffset` from overflowing the stack when it loops, gets no options, or meets only disabled options.
|
|
110
|
+
- A sort header without its own `disableClear` now falls back to `etSortDisableClear` and the `SORT_DEFAULT_OPTIONS` token instead of always allowing the cleared state.
|
|
111
|
+
- A destroyed sort header removes its screen-reader sort description from the document.
|
|
112
|
+
- Add `etQueryButton`, which shows a query's loading state and progress on any button, and `queryButtonSourceFromV2Query` for legacy queries; the cdk migration map now points the cdk query button at it.
|
|
113
|
+
- `AnimatedLifecycleDirective` gains a read-only `state` signal, and `state$` is now a read-only observable; read `state()` instead of `state$.value`.
|
|
114
|
+
- Breaking: spinner and progress bar are determinate while `value` is bound, replacing `determinate` and `indeterminate` (`et update` migrates templates); the progress bar takes `color`, and `LOADER_IMPORTS` is exported.
|
|
115
|
+
- Mark every migration with a `level`, so `et update` runs only the required ones.
|
|
116
|
+
|
|
117
|
+
## 5.0.0-next.37
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Combobox: pressing the clear button no longer blurs the input first, so a single click clears the value.
|
|
122
|
+
|
|
123
|
+
## 5.0.0-next.36
|
|
124
|
+
|
|
125
|
+
### Patch Changes
|
|
126
|
+
|
|
127
|
+
- `etIcon` reports an icon named after an `Object.prototype` member (e.g. `constructor`) as not found instead of throwing a `TypeError`, and the not-found error prints the icon name.
|
|
128
|
+
- `<et-pagination>` reads the current url from `DOCUMENT` instead of `window`, so it no longer throws under SSR; `paginate()` accepts a `currentUrl` option for use outside a browser.
|
|
129
|
+
- Query button: the success/failure reset timer is cleared on destroy and no longer calls `window` directly.
|
|
130
|
+
- The swiss `new-bracket` escapes `swissColors` values before writing them into the SVG, so a color string can no longer inject markup.
|
|
131
|
+
|
|
132
|
+
## 5.0.0-next.35
|
|
133
|
+
|
|
134
|
+
### Patch Changes
|
|
135
|
+
|
|
136
|
+
- The v5 migration moves `ProvideColorDirective` and `COLOR_PROVIDER` imports from `@ethlete/cdk` to `@ethlete/core`, so a `ProvideThemeDirective` import that the core migration renamed first no longer stays behind on `@ethlete/cdk`.
|
|
137
|
+
|
|
138
|
+
## 5.0.0-next.34
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- The icon directive and masonry items set their host styles through style bindings instead of a static `style` attribute, which a strict `style-src` blocked.
|
|
143
|
+
|
|
144
|
+
## 5.0.0-next.33
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- Place `takeUntilDestroyed()` last in every pipe, so operators after it no longer run or stay subscribed after destroy.
|
|
149
|
+
|
|
150
|
+
## 5.0.0-next.32
|
|
151
|
+
|
|
152
|
+
### Minor Changes
|
|
153
|
+
|
|
154
|
+
- The Angular peer dependency moves from 22.0.7 to 22.1.6. Angular 22.0.x is affected by
|
|
155
|
+
GHSA-hh8m-fm6v-7cvg, a sanitization bypass through directive host bindings, fixed in 22.1.0.
|
|
156
|
+
|
|
157
|
+
## 5.0.0-next.31
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- [#3075](https://github.com/ethlete-io/ethdk/pull/3075) [`1d38e7e`](https://github.com/ethlete-io/ethdk/commit/1d38e7e0a025769f065d8ca7d506cb75ad89139a) Thanks [@github-actions](https://github.com/apps/github-actions)! - `et update` moves the `@ethlete/*` packages to a newer version, runs the codemods those versions
|
|
162
|
+
declare in their own `migrations.json`, and reports what needs a decision or an agent.
|
|
163
|
+
|
|
164
|
+
## 5.0.0-next.30
|
|
165
|
+
|
|
166
|
+
### Patch Changes
|
|
167
|
+
|
|
168
|
+
- [#3069](https://github.com/ethlete-io/ethdk/pull/3069) [`a9113cb`](https://github.com/ethlete-io/ethdk/commit/a9113cb6ce63942ffce0e26ca7df7f0556a14838) Thanks [@github-actions](https://github.com/apps/github-actions)! - Core: correct framework primitive behavior; breakpoint transforms now require explicit fallbacks, unresolved surface types return `null`, and the validator aggregate is renamed to `EthleteValidators`.
|
|
169
|
+
|
|
170
|
+
## 5.0.0-next.29
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- [`5c1190a`](https://github.com/ethlete-io/ethdk/commit/5c1190ac76c244ff1c293b390dd599ed016d26de) Thanks [@TomTomB](https://github.com/TomTomB)! - Overlays: a press on a surface stacked above them no longer counts as an outside press, so working in the query devtools leaves an open dialog, sheet, menu, select or tooltip alone.
|
|
175
|
+
|
|
176
|
+
## 5.0.0-next.28
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
10
179
|
|
|
11
|
-
- [#
|
|
180
|
+
- [#3048](https://github.com/ethlete-io/ethdk/pull/3048) [`ee3bd8c`](https://github.com/ethlete-io/ethdk/commit/ee3bd8cae84be832da2ead4543b5440dd69d4e82) Thanks [@github-actions](https://github.com/apps/github-actions)! - Overlay: the full-screen open and close animation now clones the origin at the size it renders at, so a percentage-sized or ancestor-squeezed element no longer jumps to its intrinsic size.
|
|
181
|
+
|
|
182
|
+
## 5.0.0-next.27
|
|
12
183
|
|
|
13
184
|
### Patch Changes
|
|
14
185
|
|
|
15
|
-
- [#
|
|
186
|
+
- [#3045](https://github.com/ethlete-io/ethdk/pull/3045) [`f5c1fcc`](https://github.com/ethlete-io/ethdk/commit/f5c1fccf51fbeda86a3bb6d23d2bf4348ebb3c93) Thanks [@github-actions](https://github.com/apps/github-actions)! - Internal cleanup only - replaces index-access non-null assertions and drops dead bindings; no behavior
|
|
187
|
+
or API change.
|
|
188
|
+
|
|
189
|
+
- [#3045](https://github.com/ethlete-io/ethdk/pull/3045) [`23fd039`](https://github.com/ethlete-io/ethdk/commit/23fd0394d265e3c006cc96ff9143eca1d21e8a53) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix `migrate-from-cdk`: stop duplicating import specifiers, rewriting `<et-picture>` attributes on templates still bound to cdk's component, and mechanically renaming `TableImports`/`TabImports` onto an unrelated API.
|
|
190
|
+
|
|
191
|
+
## 5.0.0-next.26
|
|
192
|
+
|
|
193
|
+
### Minor Changes
|
|
194
|
+
|
|
195
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`cf41b4e`](https://github.com/ethlete-io/ethdk/commit/cf41b4e64268eef05bbd69b501e9d08581d09697) Thanks [@github-actions](https://github.com/apps/github-actions)! - Mark every public `@ethlete/cdk` export as `@deprecated`, pointing at its `@ethlete/components`
|
|
196
|
+
successor and the `migrate-from-cdk` generator. Nothing changes at runtime; removal is v6.
|
|
16
197
|
|
|
17
|
-
|
|
198
|
+
## 5.0.0-next.25
|
|
18
199
|
|
|
19
|
-
|
|
200
|
+
### Minor Changes
|
|
201
|
+
|
|
202
|
+
- [`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
|
|
203
|
+
cdk → components migration (import moves and renames, skeleton `shape="rect"`, the spinner and picture template
|
|
204
|
+
inputs) and reports the rest in `migrate-from-cdk-tasks.md`: missing picture `alt`, class inputs grouped by
|
|
205
|
+
sizing mode, themed spinners, reshaped symbols, and successors that need a newer `@ethlete/components`.
|
|
206
|
+
|
|
207
|
+
- [#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
|
|
208
|
+
barrel with its `@ethlete/components` or `@ethlete/core` successor, the kind of change (`move`, `rename`,
|
|
209
|
+
`reshape`, `rename+reshape`, `replaced-by`, `removed`) and a docs link.
|
|
20
210
|
|
|
21
|
-
## 5.0.0-next.
|
|
211
|
+
## 5.0.0-next.24
|
|
22
212
|
|
|
23
213
|
### Patch Changes
|
|
24
214
|
|
|
25
|
-
- [#
|
|
215
|
+
- [#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
|
|
216
|
+
`matchMedia` implementation (same API), and `AnimatedOverlayDirective` moved to `@ethlete/cdk` -
|
|
217
|
+
import it from there.
|
|
26
218
|
|
|
27
|
-
|
|
219
|
+
- [#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.
|
|
220
|
+
|
|
221
|
+
- [#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` /
|
|
222
|
+
`createLabels` are replaced by `defineProvider` & co., which return a definition you read with
|
|
223
|
+
`toProvideFn` / `toInjectFn` / `toToken`; `createQueryClient`, `createBearerAuthProvider` and
|
|
224
|
+
`createWebSocketClient` return that definition instead of a tuple. Every `provideX` / `injectX` /
|
|
225
|
+
token export keeps its name - run `nx g @ethlete/core:migrate-provider-shape` for your own call sites.
|
|
226
|
+
Cuts the `@ethlete/components` import floor from 89.9 to 2.4 kB gz.
|
|
227
|
+
|
|
228
|
+
## 5.0.0-next.23
|
|
28
229
|
|
|
29
230
|
### Patch Changes
|
|
30
231
|
|
|
31
|
-
- [`
|
|
232
|
+
- [#3037](https://github.com/ethlete-io/ethdk/pull/3037) [`8122287`](https://github.com/ethlete-io/ethdk/commit/8122287535a4661816ab7f930891aac8efd68ef1) Thanks [@github-actions](https://github.com/apps/github-actions)! - Bracket: fix the missing losers-bracket → grand-final connector in a double-elimination bracket that has no bracket-reset (reverse) final. The `two-to-nothing` final relation resolved and stored its lower input from the winners round instead of the losers round, so the line was never drawn. Brackets that include a reverse final were unaffected.
|
|
233
|
+
|
|
234
|
+
- [#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.
|
|
32
235
|
|
|
33
|
-
|
|
236
|
+
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.
|
|
237
|
+
|
|
238
|
+
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.
|
|
239
|
+
|
|
240
|
+
No public API changed - the `components` and `cdk` bumps are story/spec restructuring plus moving `signalVisibilityChangeClasses` below `RichFilterHostComponent` in the same module.
|
|
241
|
+
|
|
242
|
+
## 5.0.0-next.22
|
|
34
243
|
|
|
35
244
|
### Patch Changes
|
|
36
245
|
|
|
37
|
-
- [`
|
|
246
|
+
- [`e39862d`](https://github.com/ethlete-io/ethdk/commit/e39862d0385321e8d39b0c8f33e47a9664195679) Thanks [@TomTomB](https://github.com/TomTomB)! - Overlay: pass the container element to `surfaceContextTracker.register` to match the updated `@ethlete/core` signature.
|
|
247
|
+
|
|
248
|
+
## 5.0.0-next.21
|
|
249
|
+
|
|
250
|
+
### Minor Changes
|
|
38
251
|
|
|
39
|
-
- [`
|
|
252
|
+
- [#3030](https://github.com/ethlete-io/ethdk/pull/3030) [`6a0959a`](https://github.com/ethlete-io/ethdk/commit/6a0959ac61d5641ae3f0da7552310d58b4029580) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add an `et-legacy` marker class to every cdk component host. Because cdk and
|
|
253
|
+
`@ethlete/components` reuse many of the same global class names (`et-overlay`,
|
|
254
|
+
`et-menu`, `et-radio`, `et-select`, `et-checkbox`, `et-tooltip`, …), apps that
|
|
255
|
+
consume both libraries at once can no longer target one without hitting the
|
|
256
|
+
other. Every cdk element now carries `et-legacy` alongside its usual classes, so
|
|
257
|
+
consumer overrides can be scoped to the cdk implementation only - e.g. rewrite
|
|
258
|
+
`.et-overlay { … }` as `.et-overlay.et-legacy { … }`. The marker is inert (no cdk
|
|
259
|
+
CSS references it), so cdk rendering is unchanged.
|
|
40
260
|
|
|
41
|
-
## 5.0.0-next.
|
|
261
|
+
## 5.0.0-next.20
|
|
42
262
|
|
|
43
263
|
### Patch Changes
|
|
44
264
|
|
|
45
|
-
-
|
|
46
|
-
- @ethlete/types@2.0.0-next.0
|
|
265
|
+
- [#3022](https://github.com/ethlete-io/ethdk/pull/3022) [`9431073`](https://github.com/ethlete-io/ethdk/commit/9431073bb693aa10bbb84d5196597cb2c4b7463f) Thanks [@github-actions](https://github.com/apps/github-actions)! - Overlays and menus now open on insecure origins (plain-HTTP pages on a LAN IP, not just `localhost`/HTTPS). Id generation used `crypto.randomUUID()`, which is `undefined` outside a secure context, so opening any dialog, sheet, anchored overlay or menu threw and only the backdrop appeared. A new `randomId()` helper in `@ethlete/core` uses `crypto.randomUUID()` when available and falls back to `getRandomValues` otherwise.
|
|
47
266
|
|
|
48
|
-
## 5.0.0-next.
|
|
267
|
+
## 5.0.0-next.19
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- [`4e9f2b4`](https://github.com/ethlete-io/ethdk/commit/4e9f2b4d12335fafef192350aef8ffc584996a91) Thanks [@TomTomB](https://github.com/TomTomB)! - Remove the now-redundant `changeDetection: ChangeDetectionStrategy.OnPush` declaration (and its `ChangeDetectionStrategy` import) from all components. OnPush is the default change detection strategy since Angular 22, so this is a no-op cleanup with no behavioral change.
|
|
272
|
+
|
|
273
|
+
## 5.0.0-next.18
|
|
49
274
|
|
|
50
275
|
### Major Changes
|
|
51
276
|
|
|
52
|
-
- [#
|
|
277
|
+
- [#3008](https://github.com/ethlete-io/ethdk/pull/3008) [`6b9c784`](https://github.com/ethlete-io/ethdk/commit/6b9c784d4d7fa19fd4c2c1ee48998d8256d3b748) Thanks [@TomTomB](https://github.com/TomTomB)! - Remove all `@angular/animations` `trigger()` usage from the CDK. The accordion and inline tab body were the last two components relying on the legacy animations engine; the accordion now uses a pure CSS `grid-template-rows` transition and the inline tab body drives its portal lifecycle directly. Consumer apps can now drop `provideAnimations()`/`provideNoopAnimations()` entirely, which restores synchronous route-view removal under zoneless change detection and removes the brief old/new view overlap flash on navigation ([#3005](https://github.com/ethlete-io/ethdk/issues/3005)).
|
|
278
|
+
|
|
279
|
+
Breaking changes:
|
|
280
|
+
- Removed the `accordionAnimations` export (`@angular/animations` trigger metadata).
|
|
281
|
+
- Removed the `tabAnimations` export (`@angular/animations` trigger metadata).
|
|
282
|
+
- Removed the unused `animationDuration` input from `et-inline-tab-body` (was already a no-op).
|
|
283
|
+
|
|
284
|
+
## 5.0.0-next.17
|
|
285
|
+
|
|
286
|
+
### Minor Changes
|
|
287
|
+
|
|
288
|
+
- [`edea44b`](https://github.com/ethlete-io/ethdk/commit/edea44bf1c494420f02b545202f4b24db9a6395c) Thanks [@TomTomB](https://github.com/TomTomB)! - Update to angular 22
|
|
289
|
+
|
|
290
|
+
## 5.0.0-next.16
|
|
291
|
+
|
|
292
|
+
### Minor Changes
|
|
293
|
+
|
|
294
|
+
- [#2997](https://github.com/ethlete-io/ethdk/pull/2997) [`f382d14`](https://github.com/ethlete-io/ethdk/commit/f382d14fd8a32923c865bf59db74d092ace3a7a5) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add option to render a continue element at the end of a bracket if theres a follow up competition stage
|
|
295
|
+
|
|
296
|
+
### Patch Changes
|
|
297
|
+
|
|
298
|
+
- [#2997](https://github.com/ethlete-io/ethdk/pull/2997) [`f382d14`](https://github.com/ethlete-io/ethdk/commit/f382d14fd8a32923c865bf59db74d092ace3a7a5) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix bracket highlighting getting laggy on larger brackets
|
|
299
|
+
|
|
300
|
+
## 5.0.0-next.15
|
|
301
|
+
|
|
302
|
+
### Minor Changes
|
|
303
|
+
|
|
304
|
+
- [#2995](https://github.com/ethlete-io/ethdk/pull/2995) [`5ca2461`](https://github.com/ethlete-io/ethdk/commit/5ca246117f43bac39ef73204c0e37871bad9781f) Thanks [@github-actions](https://github.com/apps/github-actions)! - Support swiss mode in bracket new as per design spec
|
|
305
|
+
|
|
306
|
+
### Patch Changes
|
|
307
|
+
|
|
308
|
+
- [#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
|
|
309
|
+
|
|
310
|
+
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.
|
|
311
|
+
|
|
312
|
+
- [#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
|
|
313
|
+
|
|
314
|
+
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.
|
|
315
|
+
|
|
316
|
+
- [#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
|
|
317
|
+
|
|
318
|
+
Brackets whose data ends before the grand final (e.g. only the currently available rounds are loaded) no longer crash and now draw their lower bracket connector lines correctly:
|
|
319
|
+
- The last lower bracket round is no longer left without a relation when there is no final round to feed into (it now terminates with a `one-to-nothing` relation), which previously caused a `Cannot destructure property 'nextRoundMatchPosition'` error.
|
|
320
|
+
- `generateMatchRelationsNew` skips matches whose round has no resolved relation instead of throwing, so incomplete brackets degrade gracefully.
|
|
321
|
+
- Lower bracket rounds are now separated by a gap column even when no finals section exists, so their connector lines are no longer collapsed to zero width and become invisible.
|
|
53
322
|
|
|
54
|
-
|
|
323
|
+
Brackets that are truncated at the front (missing the first winner bracket round) are covered by the same changes.
|
|
55
324
|
|
|
56
|
-
|
|
325
|
+
## 5.0.0-next.14
|
|
57
326
|
|
|
58
|
-
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- [`6ee86dc`](https://github.com/ethlete-io/ethdk/commit/6ee86dc6e2dde7ec6661d12e92fe1ceb87bc5800) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix color theme migration to include html and css files
|
|
330
|
+
|
|
331
|
+
## 5.0.0-next.13
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- [`b73a127`](https://github.com/ethlete-io/ethdk/commit/b73a127002a06e3aa0c4e7e977b1ad1f3e04e7e6) Thanks [@TomTomB](https://github.com/TomTomB)! - Bump yet again, final one for sure, pinky promise
|
|
336
|
+
|
|
337
|
+
## 5.0.0-beta.12
|
|
338
|
+
|
|
339
|
+
### Patch Changes
|
|
340
|
+
|
|
341
|
+
- [`ddb5d09`](https://github.com/ethlete-io/ethdk/commit/ddb5d09e4bc56e18cc8c228aa78a200441e7a766) Thanks [@TomTomB](https://github.com/TomTomB)! - Bump to beta
|
|
342
|
+
|
|
343
|
+
- Updated dependencies [[`ddb5d09`](https://github.com/ethlete-io/ethdk/commit/ddb5d09e4bc56e18cc8c228aa78a200441e7a766)]:
|
|
344
|
+
- @ethlete/query@6.0.0-beta.8
|
|
345
|
+
- @ethlete/types@2.0.0-beta.4
|
|
346
|
+
- @ethlete/core@5.0.0-beta.11
|
|
347
|
+
|
|
348
|
+
## 5.0.0-next.11
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- [`a690217`](https://github.com/ethlete-io/ethdk/commit/a6902172efd9bd1956a16237e79acbfbd816d946) Thanks [@TomTomB](https://github.com/TomTomB)! - Version bump only
|
|
353
|
+
|
|
354
|
+
## 4.74.0
|
|
355
|
+
|
|
356
|
+
### Minor Changes
|
|
357
|
+
|
|
358
|
+
- [`770e26b`](https://github.com/ethlete-io/ethdk/commit/770e26ba1cb2042a573e48cc529d8edf3e0e9dc0) Thanks [@TomTomB](https://github.com/TomTomB)! - New bracket: support a third place match in single elimination. The final stays the last match of the bracket, so the continue element is drawn again. A mirrored layout folds the third place match below the final, and the new `thirdPlaceTopOffset` input (also in `provideNewBracketConfig`) folds it below the final in a left to right layout. Semi final losers are no longer marked `isEliminated` when a third place match follows.
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- [`88a6896`](https://github.com/ethlete-io/ethdk/commit/88a6896692e166a9f4b0222346e29e33e2d76636) Thanks [@TomTomB](https://github.com/TomTomB)! - Place a third place match that keeps its own column after the continue element, so the line from the final to the continue element no longer crosses it.
|
|
363
|
+
|
|
364
|
+
## 4.73.0
|
|
59
365
|
|
|
60
|
-
|
|
366
|
+
### Minor Changes
|
|
367
|
+
|
|
368
|
+
- [`4dfebf6`](https://github.com/ethlete-io/ethdk/commit/4dfebf65b4a21be3ae101580bc68a6ddf011dd5c) Thanks [@TomTomB](https://github.com/TomTomB)! - Update all dependencies to their latest versions. The peer dependencies now require Angular 22.2 and Angular CDK 22.2, and `@ethlete/core` requires TypeScript 6.0 and `@nx/devkit` 24.
|
|
369
|
+
|
|
370
|
+
### Patch Changes
|
|
371
|
+
|
|
372
|
+
- [`bc313e1`](https://github.com/ethlete-io/ethdk/commit/bc313e1fd84e421cb4344745cdf7a8f06c9f530c) Thanks [@TomTomB](https://github.com/TomTomB)! - Update dependencies and the pinned peer dependency versions (Angular 20.3.34, Angular CDK 20.2.14, @floating-ui/dom 1.8.0, @contentful/rich-text-types 17.2.7).
|
|
373
|
+
|
|
374
|
+
## 4.72.1
|
|
61
375
|
|
|
62
|
-
|
|
376
|
+
### Patch Changes
|
|
377
|
+
|
|
378
|
+
- [`ba5501f`](https://github.com/ethlete-io/ethdk/commit/ba5501f9d86878d1d02a2dea68ccaf591ff48611) Thanks [@TomTomB](https://github.com/TomTomB)! - Keep a combobox control's value while its async options load, instead of overwriting it with `null`.
|
|
379
|
+
|
|
380
|
+
## 4.72.0
|
|
63
381
|
|
|
64
382
|
### Minor Changes
|
|
65
383
|
|
|
66
|
-
- [
|
|
384
|
+
- [`29dfbf8`](https://github.com/ethlete-io/ethdk/commit/29dfbf8dd03511af30e6411be93f5836fcc43e20) Thanks [@TomTomB](https://github.com/TomTomB)! - Support swiss mode in bracket new as per design spec
|
|
385
|
+
|
|
386
|
+
- [`86e0817`](https://github.com/ethlete-io/ethdk/commit/86e0817d7dd68b36d65dbf8b45a35026f2568e96) Thanks [@TomTomB](https://github.com/TomTomB)! - Add option to render a continue element at the end of a bracket if theres a follow up competition stage
|
|
67
387
|
|
|
68
388
|
### Patch Changes
|
|
69
389
|
|
|
70
|
-
- [
|
|
390
|
+
- [`214679e`](https://github.com/ethlete-io/ethdk/commit/214679e82ecd8de2dd37416911cb5a4bcf0dbdb4) Thanks [@baltruschat](https://github.com/baltruschat)! - Position winner rounds correctly when the winner bracket starts after round 1
|
|
391
|
+
|
|
392
|
+
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.
|
|
393
|
+
|
|
394
|
+
- [`214679e`](https://github.com/ethlete-io/ethdk/commit/214679e82ecd8de2dd37416911cb5a4bcf0dbdb4) Thanks [@baltruschat](https://github.com/baltruschat)! - Align winner bracket rounds above their drop-in loser round
|
|
71
395
|
|
|
72
|
-
|
|
396
|
+
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.
|
|
397
|
+
|
|
398
|
+
- [`86e0817`](https://github.com/ethlete-io/ethdk/commit/86e0817d7dd68b36d65dbf8b45a35026f2568e96) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix bracket highlighting getting laggy on larger brackets
|
|
399
|
+
|
|
400
|
+
- [`214679e`](https://github.com/ethlete-io/ethdk/commit/214679e82ecd8de2dd37416911cb5a4bcf0dbdb4) Thanks [@baltruschat](https://github.com/baltruschat)! - Fix rendering of truncated double elimination brackets
|
|
401
|
+
|
|
402
|
+
Brackets whose data ends before the grand final (e.g. only the currently available rounds are loaded) no longer crash and now draw their lower bracket connector lines correctly:
|
|
403
|
+
- The last lower bracket round is no longer left without a relation when there is no final round to feed into (it now terminates with a `one-to-nothing` relation), which previously caused a `Cannot destructure property 'nextRoundMatchPosition'` error.
|
|
404
|
+
- `generateMatchRelationsNew` skips matches whose round has no resolved relation instead of throwing, so incomplete brackets degrade gracefully.
|
|
405
|
+
- Lower bracket rounds are now separated by a gap column even when no finals section exists, so their connector lines are no longer collapsed to zero width and become invisible.
|
|
406
|
+
|
|
407
|
+
Brackets that are truncated at the front (missing the first winner bracket round) are covered by the same changes.
|
|
408
|
+
|
|
409
|
+
## 4.71.1
|
|
410
|
+
|
|
411
|
+
### Patch Changes
|
|
412
|
+
|
|
413
|
+
- [`80c3e17`](https://github.com/ethlete-io/ethdk/commit/80c3e17a93adbf62a4261a9540b2c53060f1ac25) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix match highlighting in unsorted bracket sources
|
|
414
|
+
|
|
415
|
+
## 4.71.0
|
|
416
|
+
|
|
417
|
+
### Minor Changes
|
|
73
418
|
|
|
74
|
-
-
|
|
75
|
-
- @ethlete/core@5.0.0-next.0
|
|
76
|
-
- @ethlete/query@6.0.0-next.0
|
|
419
|
+
- [`d01f6a8`](https://github.com/ethlete-io/ethdk/commit/d01f6a894757666efa186dab46f3e60a3e6110de) Thanks [@TomTomB](https://github.com/TomTomB)! - Support unordered bracket sources in new bracket component
|
|
77
420
|
|
|
78
421
|
## 4.70.1
|
|
79
422
|
|