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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f691ab87c2a0b5092226d8d319ebff3c7b6d8a658b8a62c42017b7dc3e50807
4
- data.tar.gz: e2aebaed7d717a580cbd9af42ae6149e7cda083fbbdd3465488525fdac8ee01e
3
+ metadata.gz: 9270fc3c010e18a652ab837ecec7b712bbdd78e9859b0690409fff8b5623f640
4
+ data.tar.gz: 8920d26834c8c2444f35c0f6d04cc2c21835163414a62f7339e95608130dc29a
5
5
  SHA512:
6
- metadata.gz: 182402ce77c5e8a010e3c6f2229c8865f339ea20447907f776f7e557a3c52de7aa9b3eada614e9c64c2cb4d3a7850a1a1e5b3724e1f836ed666f6cfadf221787
7
- data.tar.gz: 7061380101c2b4c7a1ad996e11ba1a6816ed276ba96944b55e1bd5d5efecefb8ee9607c466604f6ad97b7da990c86c1dbd5376256ef29d8c8c7d39dada7fd50b
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