stimeo-ui 0.18.0 → 0.18.1

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +31 -2
  2. package/dist/cable/index.d.ts +2 -1
  3. package/dist/controllers/command_palette_controller.js +1 -0
  4. package/dist/controllers/command_palette_controller.js.map +1 -1
  5. package/dist/controllers/dismissible_controller.js +2 -0
  6. package/dist/controllers/dismissible_controller.js.map +1 -1
  7. package/dist/controllers/editable_controller.js +1 -0
  8. package/dist/controllers/editable_controller.js.map +1 -1
  9. package/dist/controllers/form_field_controller.d.ts +2 -1
  10. package/dist/controllers/input_mask_controller.d.ts +2 -1
  11. package/dist/controllers/input_mask_controller.js +23 -0
  12. package/dist/controllers/input_mask_controller.js.map +1 -1
  13. package/dist/controllers/multi_select_controller.d.ts +2 -1
  14. package/dist/controllers/multi_select_controller.js +21 -1
  15. package/dist/controllers/multi_select_controller.js.map +1 -1
  16. package/dist/controllers/pointer_drag_controller.d.ts +1 -0
  17. package/dist/controllers/pointer_drag_controller.js +6 -1
  18. package/dist/controllers/pointer_drag_controller.js.map +1 -1
  19. package/dist/controllers/popover_controller.d.ts +6 -2
  20. package/dist/controllers/popover_controller.js +9 -0
  21. package/dist/controllers/popover_controller.js.map +1 -1
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +63 -2
  24. package/dist/index.js.map +1 -1
  25. package/dist/inspector/cli.d.ts +10 -1
  26. package/dist/inspector/cli.js +5 -0
  27. package/dist/inspector/cli.js.map +1 -1
  28. package/dist/inspector/cli_bin.d.ts +1 -1
  29. package/dist/inspector/cli_bin.js +9 -0
  30. package/dist/inspector/cli_bin.js.map +1 -1
  31. package/dist/inspector/manifest.json +2 -2
  32. package/dist/positioning/index.d.ts +2 -1
  33. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -7,7 +7,36 @@ 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
- ## [Unreleased]
10
+ ## [0.18.1] - 2026-10-31
11
+
12
+ Patch release focused on keyboard ownership, focus handoff, masked selections,
13
+ and Inspector compatibility.
14
+
15
+ ### Changed
16
+
17
+ - Inspector host contracts can admit the `<input>` types a controller composes
18
+ with instead of replacing (`inputTypes`); any other `<input>` on such a host is
19
+ still reported as `invalid-host`. The manifest carries this as `schemaVersion`
20
+ 17. Update Inspector engines and the VS Code extension together with their
21
+ manifest; an older engine reading it may report an admitted input as
22
+ `invalid-host`.
23
+ - Refresh pinned build and test tooling: Biome 2.6.3, happy-dom 21.0.4,
24
+ tsup 9.0.0, and Rollup 4.66.0.
25
+
26
+ ### Fixed
27
+
28
+ - command-palette and editable: respect keyboard events already handled by another
29
+ listener, including global shortcuts and F2.
30
+ - multi-select: close on Tab from a chip and keep the list closed when that Tab
31
+ reaches the input.
32
+ - popover: close when focus reaches an unrelated control after first falling to
33
+ the document body, while preserving the destination focus.
34
+ - dismissible: release focus from hidden content when no fallback can receive
35
+ focus.
36
+ - input-mask: preserve selected text when a single invalid typed character would
37
+ replace it.
38
+ - pointer-drag: cancel active sessions when a handle loses its target declaration
39
+ and restore the fallback handle when no declared handles remain.
11
40
 
12
41
  ## [0.18.0] - 2026-10-22
13
42
 
@@ -1411,7 +1440,7 @@ Initial public alpha: 101 behavior-only, accessible Stimulus controllers driven
1411
1440
  by `data-*` attributes, shipping no CSS. Published to npm (with provenance) and
1412
1441
  RubyGems.
1413
1442
 
1414
- [Unreleased]: https://github.com/taiyaky/stimeo-ui/compare/v0.18.0...HEAD
1443
+ [0.18.1]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.18.1
1415
1444
  [0.18.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.18.0
1416
1445
  [0.17.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.17.0
1417
1446
  [0.16.0]: https://github.com/taiyaky/stimeo-ui/releases/tag/v0.16.0
@@ -564,4 +564,5 @@ declare const cableControllers: {
564
564
  */
565
565
  declare function registerCable(application: Application): void;
566
566
 
567
- export { type CableConsumer, type CableSubscription, type CableSubscriptionMixin, type ConfirmedCableSubscription, LiveCounterController, PresenceController, TypingIndicatorController, cableControllers, createConfirmedSubscription, getCableConsumer, registerCable, setCableConsumer };
567
+ export { LiveCounterController, PresenceController, TypingIndicatorController, cableControllers, createConfirmedSubscription, getCableConsumer, registerCable, setCableConsumer };
568
+ export type { CableConsumer, CableSubscription, CableSubscriptionMixin, ConfirmedCableSubscription };
@@ -1629,6 +1629,7 @@ var CommandPaletteController = class _CommandPaletteController extends Controlle
1629
1629
  return this.hasDialogTarget && !this.dialogTarget.hidden;
1630
1630
  }
1631
1631
  #onGlobalKeydown = (event) => {
1632
+ if (event.defaultPrevented) return;
1632
1633
  if (this.#composition.isComposing(event) || !this.#matchesHotkey(event)) return;
1633
1634
  event.preventDefault();
1634
1635
  this.toggle();