@ethlete/components 1.0.0-next.59 → 1.0.0-next.60
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 +71 -0
- package/fesm2022/ethlete-components.mjs +4078 -8176
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +8 -7
- package/types/ethlete-components.d.ts +1030 -1945
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.60
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Bracket: a relayout now animates, with new `thirdPlaceTopOffset`, `finalRoundHeaderGap`, `alignRoundHeaders` and `focusInset` settings and a `--et-bracket-move-duration` token; `BracketLayout.drawEdges` now returns a `BracketDrawing` instead of an SVG string.
|
|
8
|
+
- Bracket pick card: per-side pick marks, a note line, a `readonly` results mode and slot wording from
|
|
9
|
+
`provideBracketLabels`. **Breaking:** the `unresolvableLabel` and `unavailableLabel` inputs are gone.
|
|
10
|
+
- **Breaking:** three features are opt-in. Import `MENU_SEARCH_IMPORTS` for `etMenuSearch`, register `provideSchedulerEditSurface()` for the default appointment editor, and `provideStreamPip()` for picture-in-picture on player slots.
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- The Angular peer dependency moves from 22.0.7 to 22.1.6. Angular 22.0.x is affected by
|
|
15
|
+
GHSA-hh8m-fm6v-7cvg, a sanitization bypass through directive host bindings, fixed in 22.1.0.
|
|
16
|
+
- Bracket: add `migrateBracketPicks()` so a pick follows its participant when a pairing changes, plus `realParticipantOutranksPick` and `keepPickWhileFeederSideIsOpen` on `resolveBracketSlot()`.
|
|
17
|
+
- Bracket: add a framework-free prediction graph and resolver, prediction-aware slot states, an operable pick card, and focused round layout controls.
|
|
18
|
+
- Match, bracket and standings: the Ethlete adapters accept any model with the fields they read (`EthleteMatchInput`, `EthleteRoundWithMatchesInput`, `EthletePlacementInput`, …), and `generateBracketDataForEthlete` keeps your own round and match types in the bracket data.
|
|
19
|
+
- `OverlayConfig` takes `directives`, so a self-registering feature can be applied to an overlay
|
|
20
|
+
component the SDK itself defines and opens — a scheduler edit field is the case it exists for.
|
|
21
|
+
- `createOverlayOpener(definition, { single: 'replace' })` keeps one overlay open and replaces it on the next `open()`, through the unsaved-changes guard (`dismissSources.replace`); share one slot across openers with `createOverlaySingleSlot()`.
|
|
22
|
+
- Scheduler: mark the current time with a line across today's column, and open the edit surface beside an appointment instead of under it. The Timetrack day draws the same line.
|
|
23
|
+
- Standings: add `<et-standings-pick>`, a group table a viewer reorders by drag or arrow keys, plus `standingPickOutcome` and `standingPickStartOrder` in `@ethlete/bracket`.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- `mirroredSingleEliminationBracketLayout`'s JSDoc now describes the fold as it works: it stops at the
|
|
28
|
+
first round it cannot halve, and that round and every later one are drawn whole in the middle.
|
|
29
|
+
- Breadcrumb: collapsing and re-expanding now costs one layout measurement instead of two.
|
|
30
|
+
- Breadcrumb: re-measure the full trail when a crumb's label changed while collapsed, so widening the container no longer flashes an overflowing trail for a frame.
|
|
31
|
+
- An `et-button` keeps a `tabindex` its consumer set on the element. The host binding no longer removes it, so an opted-out control such as the scrollable's navigation buttons stays out of the tab order.
|
|
32
|
+
- Button, FAB and icon button now share one copy of the variant opacity ramp instead of carrying three identical ones; rendering is unchanged.
|
|
33
|
+
- Calendar: `ET2900` (an `[etCalendarGrid]` outside a calendar) now throws while the directive is constructed, on the template's stack, instead of once per grid after the first render.
|
|
34
|
+
- Carousel: `pauseReason()` now reports `no-duration` when an `autoplayTime` of `0` keeps autoplay from
|
|
35
|
+
running, instead of staying `null`.
|
|
36
|
+
- A warning under a card choice field now sits flush with the panel edge like its error and hint.
|
|
37
|
+
- `et-choice-field` now renders the shared `et-form-support` region instead of its own copy; at-rest rendering is unchanged, and the error/warning/hint swap animates like every other control (no direction-specific leave). Every shared support region also gets `unicode-bidi: isolate` back.
|
|
38
|
+
- Color input: `rgbColor({ allowAlpha: true })` no longer accepts a malformed alpha component such as `rgb(1 2 3 / .)`, which the picker could never read.
|
|
39
|
+
- Color input: a Tab off the picker panel's last control - or a Shift+Tab off its first - closes the picker, even when the browser has no next tab stop to move focus to.
|
|
40
|
+
- Color input: an empty string reads as unselected and `colorContrast` shares the picker's parser. A pasted OTP keeps its digits through separators, and choice-field support messages animate in severity order.
|
|
41
|
+
- Range inputs no longer spin forever registering a side in development, `generateBracketDataForEthlete` accepts a stage whose leading rounds are empty, and forms and the calendar report a misplaced headless piece with an actionable error.
|
|
42
|
+
- Focus follows the keyboard again: calendar arrow keys move DOM focus, the cascader sheet keeps it while drilling, a suffix-button icon click no longer steals it, and table `Enter` drills before it clicks the row.
|
|
43
|
+
- Menu search keeps the runtime metadata Angular needs for its directives, and the phone input imports only the six select declarations its template uses.
|
|
44
|
+
- Component CSS now loads with the feature that needs it. Calendar, dropzone, overlay, scheduler, select, cascader, table and the rich text editor ship none of their opt-in chrome unused, and related components share one stylesheet.
|
|
45
|
+
- Toggletip follows a dismissal as it starts and re-opens during the leave transition; Escape dismisses a hover-shown tooltip from anywhere without blocking a dialog behind it.
|
|
46
|
+
- Command palette: the search field drops `aria-controls` and reports `aria-expanded="false"` with no results, and `etCommandPaletteShortcut` closes a palette opened through `injectCommandPalette()` instead of stacking one.
|
|
47
|
+
- Table selection checkboxes carry their accessible names again, the grid's default remove button emits the item's `remove` output, and pagination clamps a page past the end to the last one.
|
|
48
|
+
- Date & time inputs: the structural dev guards `ET3000`, `ET3001`, `ET3002`, `ET3010`, `ET3030`, `ET3040`, `ET3050`, `ET3060` and `ET3070` now throw while the directive is constructed, on the template's stack, instead of once per element after the first render.
|
|
49
|
+
- Animations: `@ethlete/core` now ships the `--ease-*` tokens its own stylesheets transition with, through `mountEasingTokens()`, so an app that loads no `@ethlete/cdk` stylesheet no longer loses every overlay animation.
|
|
50
|
+
- Every field panel - select, cascader, the date and time pickers, the color input - now closes on a Tab past its last control or a Shift+Tab before its first, and leaves focus where it went.
|
|
51
|
+
- Match card: the composed accessible name now announces the kick-off the card draws, even once a result exists.
|
|
52
|
+
- `et-match-participant` draws the participant's first letter when an emblem is missing or fails to load, and
|
|
53
|
+
letterboxes a non-square logo instead of cropping it. A TBD slot stays blank.
|
|
54
|
+
- Nav tabs: a disabled `a[et-nav-tab-link]` no longer carries an `href`, so pressing Enter on it no longer navigates.
|
|
55
|
+
- Tabs: a disabled tab no longer holds the bar's tab stop - it moves to the first enabled tab, and a bar with none is skipped in the tab order.
|
|
56
|
+
- A nav tab link that a user reached with Tab follows on Enter again - the tab bar no longer swallows a key it does not act on - and Space no longer follows a disabled link.
|
|
57
|
+
- Correct the `NotificationConfig.duration` JSDoc: `0` never auto-dismisses, and only an omitted
|
|
58
|
+
`duration` falls back to the manager's `defaultDuration`.
|
|
59
|
+
- Overlay: the anchored arrow now paints in WebKit, so tooltips, toggletips, menus and anchored dialogs show one in Safari too.
|
|
60
|
+
- Overlays can be mounted `passive` and are then skipped as the top layer, so a dialog still closes on a backdrop press while a tooltip shows inside it.
|
|
61
|
+
- Overlay routing: the route header no longer goes blank when a navigation returns to a page mid-transition or a disabled outlet is enabled again.
|
|
62
|
+
- Overlay: a breakpoint strategy switch now adds or removes the arrow and the drag handle with the strategy, instead of keeping the ones the overlay mounted with.
|
|
63
|
+
- Phone input: the country trigger now exposes `countryLabel` as its accessible name, open and closed.
|
|
64
|
+
- `defineQueryForm`: `branch()` now debounces and runs the reset graph like the source form and exposes `liveValue`; the filter overlay applies `liveValue` on submit.
|
|
65
|
+
- Scheduler: the edit surface may now open to the right or the left of an appointment, so a tall band no longer forces it past the bottom of the viewport.
|
|
66
|
+
- A time-grid block now widens into the columns nothing overlapping it occupies, so one short overlap no longer thins the whole overlap group.
|
|
67
|
+
- A select panel no longer grows wider than its field while its height animates. A long option label made the panel stick out of the field until the animation ended, for example when async options arrived after the panel opened.
|
|
68
|
+
- Select: a Tab out of a panel-hosted search now leaves focus where it went instead of landing back on the field when the select is the last tab stop.
|
|
69
|
+
- Select: a Tab out of the open trigger or its inline search no longer pulls focus back to the field when the select is the page's last tab stop.
|
|
70
|
+
- Spinner: `--et-spinner-duration` now retimes every spinner animation, so `et-button`'s loading spinner runs at the 700ms it already sets.
|
|
71
|
+
- Tabs: content tabs and nav tabs now share one stylesheet for their trigger chrome, divider and underline instead of two near-identical copies. Rendered styles, class names and tokens are unchanged.
|
|
72
|
+
- Time picker: the structural dev guards `ET3020` and `ET3021` now throw while the directive is constructed, on the template's stack, instead of once per element after the first render.
|
|
73
|
+
|
|
3
74
|
## 1.0.0-next.59
|
|
4
75
|
|
|
5
76
|
### Patch Changes
|