stimeo-ui 0.12.0 → 0.13.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/dist/cable/index.js +438 -152
- data/dist/controllers/calendar_controller.js +10 -2
- data/dist/controllers/carousel_controller.js +1 -1
- data/dist/controllers/command_palette_controller.js +2 -2
- data/dist/controllers/date_range_picker_controller.js +10 -10
- data/dist/controllers/drawer_controller.js +2 -2
- data/dist/controllers/optimistic_controller.js +141 -20
- data/dist/controllers/toast_controller.js +1 -1
- data/dist/index.js +101 -38
- data/lib/stimeo/ui/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9270fc3c010e18a652ab837ecec7b712bbdd78e9859b0690409fff8b5623f640
|
|
4
|
+
data.tar.gz: 8920d26834c8c2444f35c0f6d04cc2c21835163414a62f7339e95608130dc29a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8da3b269a404ca927d73e19a3be176b8fe7ce094a3d2742055bdb0675c2a1862fda1b20667aed527a2a7848dedaf568617b01824d7bd90819171a7d3bbd49e2e
|
|
7
|
+
data.tar.gz: 0141d8fec6cc63786a1e0dc348350670236c54129969dfebbc93538c23dea48945bb2080d5e692e7219d092304cf07725a93a7539e3185bbf56198e544f0fd46
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
While the version is `0.x`, the public API (the `stimeo--*` data attributes) may
|
|
8
8
|
change between releases.
|
|
9
9
|
|
|
10
|
+
## [0.13.0] - 2026-09-13
|
|
11
|
+
|
|
12
|
+
Minor release with no new components. The three server-bound components are
|
|
13
|
+
reworked — live-counter, presence, and optimistic — and each changed a contract,
|
|
14
|
+
so read Changed before upgrading. The Inspector manifest stays on schema v12.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- live-counter: a broadcast whose `count` or `delta` is not an integer is
|
|
19
|
+
ignored, a `delta` param that is not an integer falls back to `1`, and a
|
|
20
|
+
declared `channel` keeps the gate closed until the subscription is confirmed.
|
|
21
|
+
A delta carrying your own `id` is applied unless an optimistic add of the same
|
|
22
|
+
size is still outstanding. Runtime changes to `channel` / `params`
|
|
23
|
+
re-subscribe.
|
|
24
|
+
- presence: a leave notice is sent by the last element claiming that `id` rather
|
|
25
|
+
than by every element, a `channel` key in `params` no longer overrides the
|
|
26
|
+
declared `channel`, `heartbeat` / `timeout` fall back to their defaults unless
|
|
27
|
+
finite, positive and at most 2147483647 — typing-indicator's `timeout` takes
|
|
28
|
+
the same bound — and `template` clones only its root element.
|
|
29
|
+
- optimistic: `turbo:submit-end` is matched to the submission it names instead of
|
|
30
|
+
to any ending that reaches the element, so a submission whose ending never
|
|
31
|
+
arrives no longer strands the element. The `data-optimistic-toggled` marker
|
|
32
|
+
carries the authored value to restore instead of `"true"`, `aria-busy` gets the
|
|
33
|
+
same record (`data-optimistic-busy`), and a rollback writes those records back
|
|
34
|
+
rather than inverting the current value — `hidden="until-found"` no longer
|
|
35
|
+
degrades to a bare `hidden`, and an element registered for both `show` and
|
|
36
|
+
`hide` returns to its authored state.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- calendar: a malformed `<html lang>` (an `en_US`-style tag that `Intl` rejects)
|
|
41
|
+
no longer stops the month grid from painting. The month label falls back to
|
|
42
|
+
English while the 42 cells, the single tab stop, and the `monthchange` /
|
|
43
|
+
`select` conditions stay as they were; any other failure of the label
|
|
44
|
+
formatter still propagates.
|
|
45
|
+
|
|
10
46
|
## [0.12.0] - 2026-09-06
|
|
11
47
|
|
|
12
48
|
Minor release with no new components. Six existing ones are reworked — count-up,
|
|
@@ -999,6 +1035,7 @@ Initial public alpha: 101 behavior-only, accessible Stimulus controllers driven
|
|
|
999
1035
|
by `data-*` attributes, shipping no CSS. Published to npm (with provenance) and
|
|
1000
1036
|
RubyGems.
|
|
1001
1037
|
|
|
1038
|
+
[0.13.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.13.0
|
|
1002
1039
|
[0.12.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.12.0
|
|
1003
1040
|
[0.11.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.11.0
|
|
1004
1041
|
[0.10.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.10.0
|