Releases: smartsquad/images-in-motion
Releases · smartsquad/images-in-motion
Release list
v1.0.0
Added
images-in-motion/examplesexportspickExampleImages()for the same random Unsplash pool as Live.- One console warning when
mountImagesInMotionmeasures a 0×0 host. viewportWidth/viewportHeightoncreateImagesInMotionWebViewHtmlso iOSsource={{ html }}can size the document to the native WebView.
Changed
- Framework guide copy-paste examples are complete, runnable sources: React
Appwithreturn, Vue SFCs, ExpoApp, and HTML/JS modules. Snippets define aconst imagesof Picsum random URLs (?random=), not pinnedimages.unsplash.com/photo-IDs and notpickExampleImages(). Expo examples split Native (react-native-webview) and Web (same HTML in aniframe). Blocks use Shiki like the rest of VitePress. The on-page mosaic is20remby20rem, centered, and uses a shuffled Unsplash set with at least twenty-four URLs. The Expo Snack playground sizes the native WebView withflex: 1and loads the IIFE from unpkg. - Expo install commands include
npx,bunx,yarn, andpnpm. - React and Vue apply
width/heightas CSS on the host. Omit them and the host fills its parent. Framework examples fill the available box and size the mosaic to20remby20rem.export default function App(). createImagesInMotionWebViewHtmlaccepts an optional rem (or other CSS) size for#stage. Expo Native examples measure the host withonLayoutand pass that size asviewportWidth/viewportHeight.- Recorded IIFE size is 17.38 KB raw, 6.47 KB gzip -9.
- Docs
devandpreviewsend COOP / COEPcredentiallessso in-page StackBlitz WebContainers can start. The embed passescrossOriginIsolated: true. - Snack, StackBlitz, and Load live preview open the snippet tab above the buttons. Expo Native goes to Snack. Other tabs go to StackBlitz.
v0.2.2
Changed
- Stopped example-image picks from repeating a URL when a short category pool is topped up
- Pointed the docs site and studio to
https://iim.smartsquad.io/ - Kept the home hero mosaic below the nav on small screens, instead of covering the wordmark
- Stacked the embedded studio preview and controls on small screens
- Built the library in the Pages workflow so the hosted IIFE is published with the docs
Added
- Imported the first release from the private repository of
images-in-motion - Added temporary "open" functionality in StackBlitz on the React, Vue, JavaScript, and custom element guides, with an optional click-to-load live preview. Expo opens Snack on a device. NativeScript links to NativeScript Preview.