@joiner-platform/cli 0.1.2 → 0.1.4
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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joiner-platform/cli",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"gitHead": "24bfaaefdb337aaca173698ca12ccf93a7d1f4d2",
|
|
5
5
|
"description": "The Joiner CLI: create, test, and publish Joiner tiles, with agent skills for coding agents.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"joiner",
|
|
@@ -61,7 +61,7 @@ an older pin, so prefer the live result when upgrading:
|
|
|
61
61
|
|
|
62
62
|
<!-- begin: sdk-tarball-snippet (auto-generated by packages/poe-tiles-sdk/scripts/publish-tar.ts — do not edit by hand) -->
|
|
63
63
|
```json
|
|
64
|
-
"joiner-sdk": "https://misc-dev-uploads.quora-913.workers.dev/
|
|
64
|
+
"joiner-sdk": "https://misc-dev-uploads.quora-913.workers.dev/394270fb8e9733db09412109b8c4fc33fe04a99e0b599fec55eb6c9b76bf7947"
|
|
65
65
|
```
|
|
66
66
|
<!-- end: sdk-tarball-snippet -->
|
|
67
67
|
|
|
@@ -2187,13 +2187,13 @@ applyNativeAppGestureOverrides();
|
|
|
2187
2187
|
|
|
2188
2188
|
Suppress the iOS long-press magnifier loupe on one element. No tile may show the loupe, so call it on every non-scrolling surface a finger can rest on — a game canvas, a board, a draggable piece, and also the HUD, buttons, and menus. Apply it per element; the exceptions are native scrollers, form fields, and links. One call on the nearest non-scrolling container covers a group of controls (the HUD, a menu, a button row).
|
|
2189
2189
|
|
|
2190
|
-
`applyNativeAppGestureOverrides()` stops the selection callout and text selection, but on iOS it does **not** stop every round magnifier loupe WebKit shows once a still finger starts its text-selection gesture. For a plain long press, `-webkit-user-select: none` stops the loupe.
|
|
2190
|
+
`applyNativeAppGestureOverrides()` stops the selection callout and text selection, but on iOS it does **not** stop every round magnifier loupe WebKit shows once a still finger starts its text-selection gesture. For a plain long press, `-webkit-user-select: none` stops the loupe. On affected iOS releases, a tap followed quickly by a long press bypasses that CSS and opens the loupe even over non-selectable content, so a press-and-hold-to-charge or drag interaction can pop a magnifier mid-play. WebKit withholds that gesture only when the page cancels `touchstart`.
|
|
2191
2191
|
|
|
2192
2192
|
Pass the surface element. The helper sets `-webkit-user-select`, `user-select`, `-webkit-touch-callout`, and `touch-action` to `none` on it. It lets touches through until the first tap in the tile ends (or the first real click lands), and cancels `touchstart` for every touch on the element after that. The first tap stays a real tap, so it still lifts the iOS 30 fps limit on tile frames, which only a real click can do. The cost: if the very first tap is followed at once by a hold, the loupe can still appear that one time. It returns a function that removes the listeners and restores the CSS (call it on unmount). Applies on all iOS WebKit; a no-op that returns a no-op remover elsewhere (Android, desktop, server).
|
|
2193
2193
|
|
|
2194
2194
|
**Scope it deliberately.** `touch-action: none` stops panning and zooming on the element, and a cancelled `touchstart` also loses the synthesized `click`. Use the plain call where input comes from `pointerdown` / `pointerup`, with no `click` handlers on the surface. An element that must scroll natively cannot use the helper at all.
|
|
2195
2195
|
|
|
2196
|
-
**Surfaces with `click` handlers (`preserveTaps`).** If taps on the element run on `click` handlers (buttons, menus, tap-to-move board cells, tap-to-place racks — `click` is also how keyboard activation reaches `<button>` cells), pass `{ preserveTaps: true }`.
|
|
2196
|
+
**Surfaces with `click` handlers (`preserveTaps`).** If taps on the element run on `click` handlers (buttons, menus, tap-to-move board cells, tap-to-place racks — `click` is also how keyboard activation reaches `<button>` cells), pass `{ preserveTaps: true }`. For a number pad, attach the helper to the pad and enter the digit in the button’s `click` handler. Every quick still touch tap dispatches a bubbling click. When WebKit supplies the originating pointer ID, the SDK can recognize its duplicate click even after a delay. Two deliberate taps on the same digit still enter it twice. Holds and drags produce no synthetic click. Mouse and keyboard activation use their native clicks. A re-created tap is a press of at most 500 ms that travels at most 10 px. Nested installs re-create one click per tap. The synthetic click is `isTrusted: false` and does not focus inputs — never point this mode at form fields or navigation links.
|
|
2197
2197
|
|
|
2198
2198
|
```typescript
|
|
2199
2199
|
import { suppressLongPressMagnifier } from "joiner-sdk/v1/client.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Auto-generated by poe-tiles-sdk/scripts/publish-tar.ts — do not edit
|
|
2
|
-
// publishedAt: 2026-11-
|
|
2
|
+
// publishedAt: 2026-11-25T00:35:58.080Z
|
|
3
3
|
export const SDK_TARBALL_URL =
|
|
4
|
-
"https://misc-dev-uploads.quora-913.workers.dev/
|
|
4
|
+
"https://misc-dev-uploads.quora-913.workers.dev/394270fb8e9733db09412109b8c4fc33fe04a99e0b599fec55eb6c9b76bf7947";
|