stimeo-ui 0.12.0 → 0.14.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 +71 -0
- data/dist/cable/index.js +438 -152
- data/dist/controllers/calendar_controller.js +34 -2
- data/dist/controllers/carousel_controller.js +9 -7
- data/dist/controllers/command_palette_controller.js +2 -2
- data/dist/controllers/conditional_fields_controller.js +7 -1
- data/dist/controllers/currency_input_controller.js +68 -23
- data/dist/controllers/date_range_picker_controller.js +34 -10
- data/dist/controllers/direct_upload_controller.js +21 -10
- data/dist/controllers/drawer_controller.js +2 -2
- data/dist/controllers/form_field_controller.js +7 -1
- data/dist/controllers/input_mask_controller.js +33 -12
- data/dist/controllers/intersection_controller.js +10 -5
- data/dist/controllers/lazy_frame_controller.js +10 -5
- data/dist/controllers/local_time_controller.js +34 -7
- data/dist/controllers/masonry_controller.js +1 -1
- data/dist/controllers/menu_controller.js +10 -2
- data/dist/controllers/menubar_controller.js +10 -2
- data/dist/controllers/navigation_menu_controller.js +8 -2
- data/dist/controllers/optimistic_controller.js +141 -20
- data/dist/controllers/otp_controller.js +23 -10
- data/dist/controllers/overflow_menu_controller.js +10 -1
- data/dist/controllers/pointer_drag_controller.js +10 -3
- data/dist/controllers/portal_controller.js +21 -10
- data/dist/controllers/radio_group_controller.js +11 -3
- data/dist/controllers/relative_time_controller.js +31 -5
- data/dist/controllers/reset_before_cache_controller.js +23 -10
- data/dist/controllers/resizable_controller.js +7 -2
- data/dist/controllers/roving_controller.js +7 -3
- data/dist/controllers/scroll_visibility_controller.js +22 -13
- data/dist/controllers/scrollspy_controller.js +11 -6
- data/dist/controllers/smart_sticky_header_controller.js +23 -12
- data/dist/controllers/sticky_observer_controller.js +10 -5
- data/dist/controllers/theme_controller.js +23 -13
- data/dist/controllers/toast_controller.js +1 -1
- data/dist/controllers/toggle_group_controller.js +11 -3
- data/dist/controllers/toolbar_controller.js +7 -3
- data/dist/index.js +259 -202
- 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: 8220bc5fa861ec2aa75c7abeb2fcb6758a4ba6b56606b77d5bc6d948c9550a09
|
|
4
|
+
data.tar.gz: 95b3643b1a9bbdfdf7d556b5952c1431e6adc1ae557e5d0cf5f40b102276593a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 837c894e5a64b823b2afc662dc4cb6e74daeedb04bee3d348bbd56127ee544cb31247f0534ffca2c60a1f676a2421ec2e3dbe0bef6ecbaeed85eac17f41ac1e1
|
|
7
|
+
data.tar.gz: 22e7cfc49254e48c27915cb9b83f632ea1348db396046a5a41be5513c8a8e4f01f00feee422c582c2423569d1cdf73228201ffc848554bb54cd1d927e18d9550
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,75 @@ 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.14.0] - 2026-09-19
|
|
11
|
+
|
|
12
|
+
Minor release with no new components. input-mask changes what a broken `tokens`
|
|
13
|
+
source falls back to, and currency-input, local-time, and relative-time narrow
|
|
14
|
+
which failures they absorb, so read Changed before upgrading. The Inspector
|
|
15
|
+
manifest stays on schema v12.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Inspector: `missing-action-event` (error) — a `data-action` that omits the
|
|
20
|
+
event on an element with no default one binds nothing, while the markup still
|
|
21
|
+
reads as wired. The elements that have a default are `<a>`, `<button>`,
|
|
22
|
+
`<details>`, `<form>`, `<input>`, `<select>`, and `<textarea>`.
|
|
23
|
+
- Inspector: `valueSyntaxConstraints` reports a `stimeo--otp` `pattern` that is
|
|
24
|
+
not a regular expression, and a `stimeo--input-mask` `tokens` that is not a
|
|
25
|
+
JSON object of them, before the page runs.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- input-mask: a `tokens` source that does not compile leaves that key on its
|
|
30
|
+
default (`9`, `a`, `*`) instead of dropping the key, and a source that
|
|
31
|
+
compiles only against the anchors the controller adds — `0)|(1` — is refused.
|
|
32
|
+
- currency-input, local-time, and relative-time absorb only what a declaration
|
|
33
|
+
can get wrong: a locale, time zone, currency code, or digit count `Intl`
|
|
34
|
+
rejects. Any other failure surfaces.
|
|
35
|
+
- Inspector: a `data-action` that omits the event resolves to the one Stimulus
|
|
36
|
+
binds for that element, so a shorthand on a `<form>` reports
|
|
37
|
+
`missing-action-completion` where it passed in silence.
|
|
38
|
+
- The markup examples in the published types name the event
|
|
39
|
+
(`click->stimeo--dialog#open`).
|
|
40
|
+
|
|
41
|
+
## [0.13.0] - 2026-09-13
|
|
42
|
+
|
|
43
|
+
Minor release with no new components. The three server-bound components are
|
|
44
|
+
reworked — live-counter, presence, and optimistic — and each changed a contract,
|
|
45
|
+
so read Changed before upgrading. The Inspector manifest stays on schema v12.
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
|
|
49
|
+
- live-counter: a broadcast whose `count` or `delta` is not an integer is
|
|
50
|
+
ignored, a `delta` param that is not an integer falls back to `1`, and a
|
|
51
|
+
declared `channel` keeps the gate closed until the subscription is confirmed.
|
|
52
|
+
A delta carrying your own `id` is applied unless an optimistic add of the same
|
|
53
|
+
size is still outstanding. Runtime changes to `channel` / `params`
|
|
54
|
+
re-subscribe.
|
|
55
|
+
- presence: on `disconnect()` a leave notice is sent by the last element claiming
|
|
56
|
+
that `id` rather than by every element; `pagehide` still sends from each one,
|
|
57
|
+
because the whole page is going away. A `channel` key in `params` no longer
|
|
58
|
+
overrides the declared `channel`, `heartbeat` / `timeout` fall back to their
|
|
59
|
+
defaults unless finite, positive and within the browser timer ceiling
|
|
60
|
+
(2147483647 ms) — typing-indicator's `timeout` takes the same bound — and
|
|
61
|
+
`template` clones only its root element.
|
|
62
|
+
- optimistic: `turbo:submit-end` is matched to the submission it names instead of
|
|
63
|
+
to any ending that reaches the element, so a submission whose ending never
|
|
64
|
+
arrives no longer strands the element. The `data-optimistic-toggled` marker
|
|
65
|
+
carries the authored value to restore instead of `"true"`, `aria-busy` gets the
|
|
66
|
+
same record (`data-optimistic-busy`), and a rollback writes those records back
|
|
67
|
+
rather than inverting the current value — `hidden="until-found"` no longer
|
|
68
|
+
degrades to a bare `hidden`, and an element registered for both `show` and
|
|
69
|
+
`hide` returns to its authored state.
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
|
|
73
|
+
- calendar: a malformed `<html lang>` (an `en_US`-style tag that `Intl` rejects)
|
|
74
|
+
no longer stops the month grid from painting. The month label falls back to
|
|
75
|
+
English while the 42 cells, the single tab stop, and the `monthchange` /
|
|
76
|
+
`select` conditions stay as they were; any other failure of the label
|
|
77
|
+
formatter still propagates.
|
|
78
|
+
|
|
10
79
|
## [0.12.0] - 2026-09-06
|
|
11
80
|
|
|
12
81
|
Minor release with no new components. Six existing ones are reworked — count-up,
|
|
@@ -999,6 +1068,8 @@ Initial public alpha: 101 behavior-only, accessible Stimulus controllers driven
|
|
|
999
1068
|
by `data-*` attributes, shipping no CSS. Published to npm (with provenance) and
|
|
1000
1069
|
RubyGems.
|
|
1001
1070
|
|
|
1071
|
+
[0.14.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.14.0
|
|
1072
|
+
[0.13.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.13.0
|
|
1002
1073
|
[0.12.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.12.0
|
|
1003
1074
|
[0.11.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.11.0
|
|
1004
1075
|
[0.10.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.10.0
|