Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/clipboard-defer-initial-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keyboard-meta-shortcut-repeat.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/clipboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @solid-primitives/clipboard

## 1.6.6

### Patch Changes

- 84a372f: Fix `createClipboard`'s `deferInitial` parameter being completely non-functional — `deferInitial || true` always evaluated to `true` regardless of the argument passed, so explicitly passing `deferInitial={false}` had no effect and the clipboard was never written from the initial signal value (resolves #790). Also corrected the JSDoc, which incorrectly claimed the default was `false` when the intended (and actual, once fixed) default is `true` — skip the initial write unless `deferInitial` is explicitly `false`.

## 1.6.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clipboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/clipboard",
"version": "1.6.5",
"version": "1.6.6",
"description": "Primitives for reading and writing to clipboard.",
"author": "David Di Biase <dave@solidjs.com>",
"contributors": [
Expand Down
6 changes: 6 additions & 0 deletions packages/keyboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @solid-primitives/keyboard

## 1.3.7

### Patch Changes

- ccef147: Fix `useKeyDownList` (and everything built on it: `useCurrentlyHeldKey`, `useKeyDownSequence`, `createKeyHold`, `createShortcut`) failing to re-trigger on repeated presses of shortcuts involving the `Meta` key, e.g. `["Meta", "P"]` on macOS. macOS never fires `keyup` for other keys held down together with Meta, only for Meta itself, so `useKeyDownList` now treats Meta's `keyup` as a signal to clear all tracked keys, preventing stale key state from corrupting the next press.

## 1.3.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/keyboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solid-primitives/keyboard",
"version": "1.3.6",
"version": "1.3.7",
"description": "A library of reactive promitives helping handling user's keyboard input.",
"author": "Damian Tarnwski <gthetarnav@gmail.com>",
"contributors": [],
Expand Down