@ethlete/cdk 5.0.0-next.2 → 5.0.0-next.21
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 +93 -20
- package/fesm2022/ethlete-cdk.mjs +2621 -2205
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/generators/migrate-to-v5/color-themes.js +86 -4
- package/package.json +15 -16
- package/types/ethlete-cdk.d.ts +223 -175
package/CHANGELOG.md
CHANGED
|
@@ -1,49 +1,122 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
-
## 5.0.0-next.
|
|
3
|
+
## 5.0.0-next.21
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
`@ethlete/components` reuse many of the same global class names (`et-overlay`,
|
|
9
|
+
`et-menu`, `et-radio`, `et-select`, `et-checkbox`, `et-tooltip`, …), apps that
|
|
10
|
+
consume both libraries at once can no longer target one without hitting the
|
|
11
|
+
other. Every cdk element now carries `et-legacy` alongside its usual classes, so
|
|
12
|
+
consumer overrides can be scoped to the cdk implementation only — e.g. rewrite
|
|
13
|
+
`.et-overlay { … }` as `.et-overlay.et-legacy { … }`. The marker is inert (no cdk
|
|
14
|
+
CSS references it), so cdk rendering is unchanged.
|
|
6
15
|
|
|
7
|
-
|
|
16
|
+
## 5.0.0-next.20
|
|
8
17
|
|
|
9
|
-
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#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.
|
|
10
21
|
|
|
11
|
-
## 5.0.0-next.
|
|
22
|
+
## 5.0.0-next.19
|
|
12
23
|
|
|
13
24
|
### Patch Changes
|
|
14
25
|
|
|
15
|
-
-
|
|
16
|
-
- @ethlete/types@2.0.0-next.0
|
|
26
|
+
- [`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.
|
|
17
27
|
|
|
18
|
-
## 5.0.0-next.
|
|
28
|
+
## 5.0.0-next.18
|
|
19
29
|
|
|
20
30
|
### Major Changes
|
|
21
31
|
|
|
22
|
-
- [#
|
|
32
|
+
- [#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)).
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
Breaking changes:
|
|
35
|
+
- Removed the `accordionAnimations` export (`@angular/animations` trigger metadata).
|
|
36
|
+
- Removed the `tabAnimations` export (`@angular/animations` trigger metadata).
|
|
37
|
+
- Removed the unused `animationDuration` input from `et-inline-tab-body` (was already a no-op).
|
|
25
38
|
|
|
26
|
-
|
|
39
|
+
## 5.0.0-next.17
|
|
27
40
|
|
|
28
|
-
|
|
41
|
+
### Minor Changes
|
|
29
42
|
|
|
30
|
-
- [
|
|
43
|
+
- [`edea44b`](https://github.com/ethlete-io/ethdk/commit/edea44bf1c494420f02b545202f4b24db9a6395c) Thanks [@TomTomB](https://github.com/TomTomB)! - Update to angular 22
|
|
31
44
|
|
|
32
|
-
|
|
45
|
+
## 5.0.0-next.16
|
|
33
46
|
|
|
34
47
|
### Minor Changes
|
|
35
48
|
|
|
36
|
-
- [#
|
|
49
|
+
- [#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
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- [#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
|
|
54
|
+
|
|
55
|
+
## 5.0.0-next.15
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- [#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
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- [#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
|
|
64
|
+
|
|
65
|
+
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.
|
|
66
|
+
|
|
67
|
+
- [#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
|
|
68
|
+
|
|
69
|
+
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.
|
|
70
|
+
|
|
71
|
+
- [#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
|
|
72
|
+
|
|
73
|
+
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:
|
|
74
|
+
- 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.
|
|
75
|
+
- `generateMatchRelationsNew` skips matches whose round has no resolved relation instead of throwing, so incomplete brackets degrade gracefully.
|
|
76
|
+
- 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.
|
|
77
|
+
|
|
78
|
+
Brackets that are truncated at the front (missing the first winner bracket round) are covered by the same changes.
|
|
79
|
+
|
|
80
|
+
## 5.0.0-next.14
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- [`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
|
|
85
|
+
|
|
86
|
+
## 5.0.0-next.13
|
|
37
87
|
|
|
38
88
|
### Patch Changes
|
|
39
89
|
|
|
40
|
-
- [
|
|
90
|
+
- [`b73a127`](https://github.com/ethlete-io/ethdk/commit/b73a127002a06e3aa0c4e7e977b1ad1f3e04e7e6) Thanks [@TomTomB](https://github.com/TomTomB)! - Bump yet again, final one for sure, pinky promise
|
|
91
|
+
|
|
92
|
+
## 5.0.0-beta.12
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- [`ddb5d09`](https://github.com/ethlete-io/ethdk/commit/ddb5d09e4bc56e18cc8c228aa78a200441e7a766) Thanks [@TomTomB](https://github.com/TomTomB)! - Bump to beta
|
|
97
|
+
|
|
98
|
+
- Updated dependencies [[`ddb5d09`](https://github.com/ethlete-io/ethdk/commit/ddb5d09e4bc56e18cc8c228aa78a200441e7a766)]:
|
|
99
|
+
- @ethlete/query@6.0.0-beta.8
|
|
100
|
+
- @ethlete/types@2.0.0-beta.4
|
|
101
|
+
- @ethlete/core@5.0.0-beta.11
|
|
41
102
|
|
|
42
|
-
|
|
103
|
+
## 5.0.0-next.11
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- [`a690217`](https://github.com/ethlete-io/ethdk/commit/a6902172efd9bd1956a16237e79acbfbd816d946) Thanks [@TomTomB](https://github.com/TomTomB)! - Version bump only
|
|
108
|
+
|
|
109
|
+
## 4.71.1
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- [`80c3e17`](https://github.com/ethlete-io/ethdk/commit/80c3e17a93adbf62a4261a9540b2c53060f1ac25) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix match highlighting in unsorted bracket sources
|
|
114
|
+
|
|
115
|
+
## 4.71.0
|
|
116
|
+
|
|
117
|
+
### Minor Changes
|
|
43
118
|
|
|
44
|
-
-
|
|
45
|
-
- @ethlete/core@5.0.0-next.0
|
|
46
|
-
- @ethlete/query@6.0.0-next.0
|
|
119
|
+
- [`d01f6a8`](https://github.com/ethlete-io/ethdk/commit/d01f6a894757666efa186dab46f3e60a3e6110de) Thanks [@TomTomB](https://github.com/TomTomB)! - Support unordered bracket sources in new bracket component
|
|
47
120
|
|
|
48
121
|
## 4.70.1
|
|
49
122
|
|