Skip to content

Releases

0.5.1: native callbacks run as worklets

Choose a tag to compare

@JABClari JABClari released this 17 Nov 07:52
58f2256

Fixes frankaa/native in apps: Reanimated hook callbacks are compiled into worklets again (each part is its own file, and the build fails if a hook is ever renamed).

0.5.0: frankaa for React Native

Choose a tag to compare

@JABClari JABClari released this 17 Nov 07:41
6dd5114

frankaa/native: Procession, Drumline and Unfurl for React Native, with an optional Skia unfurl shader (frankaa/native/skia). Reanimated 4 and Gesture Handler as optional peers; the web bundles are unchanged apart from shared helpers.

0.4.0: never a frozen photo

Choose a tag to compare

@JABClari JABClari released this 15 Nov 13:53
3f6a0d7

A slow photo never holds the lightbox up.

  • Opening and moving happen at once: the lightbox shows the photo's placeholder or thumbnail in its own shape, with a loading material drifting over it, then the photo opens up in place when it lands.
  • Loading materials: film (default) and none built in; frost and liquid from frankaa/loading; your own shader ({ fragment, uniforms }, registered with registerLoading) or your own view ((host, { index, failed, retry }) => cleanup).
  • A small ring after loadingDelay (250 ms by default), so fast photos never show it; aria-busy and a "Loading photo N" announcement.
  • A photo that doesn't load shows "This photo didn't load" with Retry, in either renderer; onError is unchanged.
  • Only the latest move changes the picture; filmstrip jumps load that photo and its neighbours at once.
  • New hooks onLoadStart and onLoadEnd (frankaa:load-start, frankaa:load-end), labels loading, failed, retry, and checkLoading.
  • Site: a Loading section with a switchable slow connection and failure.
  • check:loading covers both renderers: slow, failed and cached opens and moves, rapid jumps, the registry and the site demo.

Sizes (gzipped): lightbox 23.9 kB (was 19.0 kB), frankaa/loading 1.35 kB.

0.3.0: video controls

Choose a tag to compare

@JABClari JABClari released this 14 Nov 08:17
94e8f25

mp4 slides in the lightbox now have frankaa's own controls.

  • Play and pause, a seek bar with time and length, mute with a volume slider, and full screen
  • A tap on the video plays or pauses it instead of closing the lightbox
  • The bar fades out during untouched playback and comes back on movement or focus
  • Keys with focus in the player: Space or K, Left and Right (5 s), J and L (10 s), M, F; Escape still closes
  • New labels for every control (pause, mute, unmute, seek, volume, fullscreen, exitFullscreen, timeOf)
  • Theme with --fk-vc-ink, --fk-vc-fill, --fk-vc-track, --fk-vc-buffer, --fk-vc-btn

0.2.4

Choose a tag to compare

@JABClari JABClari released this 13 Nov 14:41
f626a74

README credits updated. No code changes.

0.2.3

Choose a tag to compare

@JABClari JABClari released this 11 Nov 20:10
365ca03
  • Lightbox: effects play in full when the next photo is still loading. The effect's clock now starts once the photo is ready; before, a slow photo used up the effect and only its end showed. While it loads, the current photo stays with its own shape.

0.2.2

Choose a tag to compare

@JABClari JABClari released this 11 Nov 17:58
d06e55b
  • WebGL: photos bigger than the screen needs are drawn down before upload. Camera originals (3000 px and up) drew black on phones, iPads and some Macs; a refused upload now falls back to CSS. Applies to the lightbox and drumline's bend.
  • Lightbox filmstrip takes less room: its band fits the look (84px for pictures alone, 142px with a ruler or numbers), and a wide screen keeps only the caption's room above it.

0.2.1

Choose a tag to compare

@JABClari JABClari released this 11 Nov 16:59
5f49f57
  • Lightbox: with WebGL, a sideways swipe runs the effect under the finger. Its progress follows the drag, then finishes or rewinds on release with the fling's velocity. New option swipe: "effect" | "strip" (default "effect"). Videos, the first and last photo and the CSS renderer keep the side-by-side slide.
  • Site: phone nav, new hero, Ask AI.

0.2.0

Choose a tag to compare

@JABClari JABClari released this 11 Nov 16:13
4ec623e

drumline (dondo, the talking drum): tick ruler, story strip, number frame and minimal presets; fluid modes off, lerp, chain and WebGL bend; light colour focus; drag, inertia, snap, wheel on both axes, tap to expand. Combine in one option: unfurl(items, { strip }) or drumline(el, items, { lightbox }). One shared items format. Fixes: slider double tap, automatic video poster, reset-proof focus, picture sources, preload, React unmount hooks. Full mobile pass.

0.1.2

Choose a tag to compare

@JABClari JABClari released this 11 Nov 14:51
410d31d

Zoom (pinch, double tap, trackpad, +/-), video slides (YouTube, Vimeo, TikTok, Instagram, MP4), top-bar actions slot, close hooks on destroy(), reset-proof styles, slider server rendering, placeholders, slider as a link, counter and pinch zoom in the slider, per-corner and per-photo radius, srcset/sizes, more theme properties and icon slots. Includes 0.1.1: faster frames and iOS-Photos-style swipes.