@ethlete/components 1.0.0-next.47 → 1.0.0-next.49
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 +63 -0
- package/fesm2022/ethlete-components.mjs +1412 -451
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ethlete-components.d.ts +417 -80
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.49
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`78c5152`](https://github.com/ethlete-io/ethdk/commit/78c51528ec11540e64a6c508eda97b789295c6b2) Thanks [@TomTomB](https://github.com/TomTomB)! - Forms: `[etForm]` submits a `<form>` through its signal form - no submit handler, no
|
|
8
|
+
`preventDefault()` - and an invalid attempt now lands the user on the first error via
|
|
9
|
+
`focusFirstInvalidField()`.
|
|
10
|
+
|
|
11
|
+
- [`56ff41a`](https://github.com/ethlete-io/ethdk/commit/56ff41aaaec7bfa313d750da98fae984188ec5c2) Thanks [@TomTomB](https://github.com/TomTomB)! - Nav tabs: a router-driven tab link no longer selects itself on click. The underline stays on the page currently rendered while a navigation guard is deciding, moves once the guard lets the navigation through, and never moves when one refuses.
|
|
12
|
+
|
|
13
|
+
- [`56ff41a`](https://github.com/ethlete-io/ethdk/commit/56ff41aaaec7bfa313d750da98fae984188ec5c2) Thanks [@TomTomB](https://github.com/TomTomB)! - Overlay router navigations stay synchronous for as long as their guards answer synchronously, instead of going async as soon as any guard is registered.
|
|
14
|
+
|
|
15
|
+
- [`56ff41a`](https://github.com/ethlete-io/ethdk/commit/56ff41aaaec7bfa313d750da98fae984188ec5c2) Thanks [@TomTomB](https://github.com/TomTomB)! - `createOverlayUnsavedChangesGuard` now guards overlay router navigations too, so a form on an overlay route needs no separate navigation guard.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`4350d8e`](https://github.com/ethlete-io/ethdk/commit/4350d8e1eca00447ba130ec5a0ce43a64cfc4496) Thanks [@TomTomB](https://github.com/TomTomB)! - Form controls implement signal forms' `focus()`, so `field().focusBoundControl()` reaches the control inside a wrapper like `<et-input>` instead of doing nothing.
|
|
20
|
+
|
|
21
|
+
- [`ae2349f`](https://github.com/ethlete-io/ethdk/commit/ae2349f9f00ccf1d4a2d038343b651d29a0f4cf3) Thanks [@TomTomB](https://github.com/TomTomB)! - Forms: marking a field touched programmatically (a `submit()` attempt, `markAsTouched()`) now shows
|
|
22
|
+
the error on `et-input`, `et-textarea`, `et-checkbox`, `et-switch` and the other wrapped controls.
|
|
23
|
+
|
|
24
|
+
- [`71c680d`](https://github.com/ethlete-io/ethdk/commit/71c680df153cd982c440d655436424976c8fec82) Thanks [@TomTomB](https://github.com/TomTomB)! - Form field: fade the value under the clear button, busy spinner and select loading indicator with a
|
|
25
|
+
mask, so it no longer paints a block of the surface background over a differently coloured field.
|
|
26
|
+
|
|
27
|
+
- [`8b14f9e`](https://github.com/ethlete-io/ethdk/commit/8b14f9e8bd9ceaaada9da7e55e048484404e62a6) Thanks [@TomTomB](https://github.com/TomTomB)! - Select: a projected `etSelectSearch` input without a placeholder of its own now shows the select's `placeholder`, and stops offering a caret and text cursor while the field is readonly.
|
|
28
|
+
|
|
29
|
+
- [`bcaa5a7`](https://github.com/ethlete-io/ethdk/commit/bcaa5a7ddaa8535d3eb366bcd05fa7fe570ea818) Thanks [@TomTomB](https://github.com/TomTomB)! - Select: only virtualize data-driven `options` past ~40 visible rows - short lists render in full, without a scroll listener or the panel's width floor.
|
|
30
|
+
|
|
31
|
+
## 1.0.0-next.48
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- [`15d88c6`](https://github.com/ethlete-io/ethdk/commit/15d88c6abb6ead4596357705b9c899e1f6474567) Thanks [@TomTomB](https://github.com/TomTomB)! - Loading indicators wait before they show and hold once shown, so a fast response leaves no flicker - via the new `signalDeferredLoading` from `@ethlete/core`, applied across form field, select, cascader, menu and table.
|
|
36
|
+
|
|
37
|
+
- [`2c5d867`](https://github.com/ethlete-io/ethdk/commit/2c5d867ac6700549e17883ce4fb1d825f91d3e90) Thanks [@TomTomB](https://github.com/TomTomB)! - Form field: the clear button and busy spinner overlay the value behind a background fade instead of claiming space; a focused or end-aligned control stops short of them so its caret and tail stay visible.
|
|
38
|
+
|
|
39
|
+
- [`47f0649`](https://github.com/ethlete-io/ethdk/commit/47f0649888eda9a69c757912d06bdc24223fe180) Thanks [@TomTomB](https://github.com/TomTomB)! - Nav tabs: the underline no longer jumps to the clicked tab and snaps back when the overlay router has a navigation guard. The router now exposes `navigationPending`.
|
|
40
|
+
|
|
41
|
+
- [`47f0649`](https://github.com/ethlete-io/ethdk/commit/47f0649888eda9a69c757912d06bdc24223fe180) Thanks [@TomTomB](https://github.com/TomTomB)! - Added `button[et-overlay-nav-tab-link]`, a nav tab link driven by the overlay router, so `<et-nav-tabs>` can drive tabbed navigation inside an overlay.
|
|
42
|
+
|
|
43
|
+
- [`c1abd8c`](https://github.com/ethlete-io/ethdk/commit/c1abd8cf246a71f4ebfd548cdccd215883c29f52) Thanks [@TomTomB](https://github.com/TomTomB)! - Overlay router: the transition direction now follows where the two routes sit relative to each other, so navigating to an earlier page plays in reverse. Explicit directions and per-route hints still win.
|
|
44
|
+
|
|
45
|
+
- [`b94ce92`](https://github.com/ethlete-io/ethdk/commit/b94ce92a6aeeaddf5e33b5fe8111f46a7f7340e2) Thanks [@TomTomB](https://github.com/TomTomB)! - Overlay router: added `registerNavigationGuard(guard)`. It runs before every route change, including browser back and forward, and cancels the navigation when it resolves `false`.
|
|
46
|
+
|
|
47
|
+
- [`2c5d867`](https://github.com/ethlete-io/ethdk/commit/2c5d867ac6700549e17883ce4fb1d825f91d3e90) Thanks [@TomTomB](https://github.com/TomTomB)! - Select: options already on screen stay put under an indeterminate busy bar instead of being replaced by a spinner, and load-more becomes a loading row in its own place.
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- [#3059](https://github.com/ethlete-io/ethdk/pull/3059) [`3090aaf`](https://github.com/ethlete-io/ethdk/commit/3090aaf84840642f038e96a88d792bbcd19d0ee3) Thanks [@github-actions](https://github.com/apps/github-actions)! - The date/time picker panels no longer change sides while open: drilling from the day grid to the
|
|
52
|
+
month or year grid resizes the panel in place instead of dropping a picker that opened above the
|
|
53
|
+
field back below it.
|
|
54
|
+
|
|
55
|
+
- [#3059](https://github.com/ethlete-io/ethdk/pull/3059) [`350c9b7`](https://github.com/ethlete-io/ethdk/commit/350c9b712d57304a026586e7b32070ae4161ef29) Thanks [@github-actions](https://github.com/apps/github-actions)! - Date-time inputs and the time picker no longer commit a value nobody chose: a lone day, hour, minute or AM/PM pick is held until the rest lands. The time picker's range band now marks the options inside the range.
|
|
56
|
+
|
|
57
|
+
- [#3059](https://github.com/ethlete-io/ethdk/pull/3059) [`4d91f8b`](https://github.com/ethlete-io/ethdk/commit/4d91f8b2a8fd93fb6d27a14f0a86b8e1b06ec4d6) Thanks [@github-actions](https://github.com/apps/github-actions)! - `et-duration-input` now accepts `aria-label` and `aria-labelledby` and forwards them onto its field,
|
|
58
|
+
so a duration field with no projected `et-label` can be named instead of throwing `ET2201`.
|
|
59
|
+
|
|
60
|
+
- [`efcc723`](https://github.com/ethlete-io/ethdk/commit/efcc723c15c64314e42cbfa7bb3bb8113a0c6df5) Thanks [@TomTomB](https://github.com/TomTomB)! - An inline `<et-overlay-sidebar>` now lays itself out as the routed content's first grid column, and leaves the grid once it collapses into its page. Width: `--et-overlay-sidebar-inline-size` (default `240px`).
|
|
61
|
+
|
|
62
|
+
- [`2c5d867`](https://github.com/ethlete-io/ethdk/commit/2c5d867ac6700549e17883ce4fb1d825f91d3e90) Thanks [@TomTomB](https://github.com/TomTomB)! - Progress bar: `--et-progress-bar-height` and `--et-progress-bar-border-radius` now take effect when set on the element or an ancestor - they were registered as non-inheriting and silently kept their defaults.
|
|
63
|
+
|
|
64
|
+
- [`f66776c`](https://github.com/ethlete-io/ethdk/commit/f66776c8b30cc9ba0c5e3178d64a1c36b4e96f7b) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix the select panel opening too tall (and animating down) when a consumer adds block padding to `.et-select-option` - the offscreen placeholder size no longer stacks on top of the row height.
|
|
65
|
+
|
|
3
66
|
## 1.0.0-next.47
|
|
4
67
|
|
|
5
68
|
### Minor Changes
|