Skip to content

Releases

Mavis UI 0.1.0-rc.21

Mavis UI 0.1.0-rc.21 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 04 Dec 02:41
f195061

Mavis UI 0.1.0-rc.21 ships all nine packages with support for Jolt 0.1.0-rc.22. When upgrading a Web, NativeScript or desktop app, install the matching Jolt version and rebuild native apps.

Components

  • VirtualList supports measured rows and scrolling to a key. On the Web, reordering keeps the dragged row mounted as you scroll.
  • ListDetail keeps the selected record and its unsaved draft when the screen changes width. DataTable adds cell editing, validation and retry.
  • AppBar, TabBar and SpeedDial support Liquid Glass on iOS 26 and adapt to accessibility preferences. Native speed dials stay aligned with their triggers.
  • Avatars return to initials when a photo is cleared. Images, placeholders and validation messages animate in place across renderers.
  • Desktop hosts animate keyed collections, viewport entrances and layout changes. The creator reuses project dependency versions when adding a macOS or Windows host.

Read the full changelog or compare with RC.20.

To create an app with this release, run npx @getcortexlabs/create-mavis@0.1.0-rc.21 my-app.

Mavis UI 0.1.0-rc.20

Mavis UI 0.1.0-rc.20 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 03 Dec 11:56
138c7a4

All nine Mavis packages move to 0.1.0-rc.20 together. This release only changes the creator: the components and renderers are the same as in 0.1.0-rc.19, and Jolt stays at 0.1.0-rc.20.

Over-the-air updates in the creator

create-mavis --ota sets up signed over-the-air updates for a project's NativeScript app, with @getcortexlabs/ota-nativescript and Orbit's Mobile updates. An update carries JavaScript, CSS and assets; plugins, App_Resources and the NativeScript runtime still go through the stores.

  • --ota init --orbit <url> --workspace <id> adds the SDK and ota-ns and writes the build hook, with a project postinstall that writes it again where npm 11 and pnpm skip dependency scripts. It creates the manifest key outside the project, registers the keys in Orbit and writes a public-only ota.config.json. It also adds src/ota.ts, which confirms each launch with markReady() before checking for updates in the background, without waiting for the network.
  • --ota baseline --platform <p> records the native fingerprint of the store binary.
  • --ota publish --platform <p> prepares the release bundle and stops with the section that changed when the native side differs from the baseline. Otherwise it packs, verifies and uploads to Orbit, and assigns the release with --channel and --rollout. --dry-run stops before the upload.
  • --ota init --local with --ota serve tests the loop against ota-ns serve on your machine.

The Orbit token is read from ORBIT_TOKEN and is never written to the project. Guide: https://mavis-ui.getcortexlabs.com/guide/ota-updates

Install

npm install @getcortexlabs/mavis@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.20
npm install @getcortexlabs/mavis-web@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.20
npx @getcortexlabs/create-mavis@0.1.0-rc.20 my-app

Full changes: CHANGELOG · Closes #493 (#494).

Mavis UI 0.1.0-rc.19

Mavis UI 0.1.0-rc.19 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 03 Dec 06:32
f7fe803

Changes

  • New package @getcortexlabs/mavis-desktop: the Mavis components on the NativeScript Mac (AppKit) and Windows (XAML) hosts. Each component is written once for both systems over a shared layout engine and takes the properties of its published contract. It covers layout, media, feedback, choices and fields, overlays, dates, charts, lists, motion and navigation. The themes and system appearance are the same as on the other hosts. Desktop components · Native Mac and Windows.
  • The desktop works from the keyboard:
    • Grouped controls are one Tab stop moved by the arrow keys.
    • Dialogs keep Tab inside themselves, Escape closes them, and the keyboard goes back to the control that opened them.
    • Menus take type-ahead.
    • The command palette opens with Command-K on the Mac and Control-K on Windows.
    • createDesktopNavigation wraps a Vue Router with Back and Forward shortcuts.
    • Commands join the Mac menu bar.
  • On the Mac, VoiceOver reads the checked, mixed and selected state of checkboxes, switches, radios, segments, tabs, list options and table rows.
  • A desktop press reports focus and blur. The marquee, particles and gradient pause while the window can't be seen: minimized or covered on the Mac, hidden on Windows.
  • create-mavis creates desktop hosts that depend on the package. --capabilities --json lists desktop support per component and property.
  • --add-macos and --add-windows check the entry and what it imports, and report each refusal with the property to use instead. --starter writes an entry that fits the desktop contract, and --write adds the host to an existing project. Classes and <style> blocks in a shared file are ignored on the desktop, with a note. The Mac host runs with no window on screen with MAVIS_DESKTOP_OFFSCREEN=1.
  • maxLines on MText, columnSpan on a child of MGrid and the escape event of MInput now work on every renderer. shortcut, selectable and testId stay on the desktop, for the reasons in the desktop guide. Font families accept macos and windows names. Text · Grid · Input.
  • With Jolt 0.1.0-rc.20:
    • On Android 14 and later, a NativeScript MSheet follows the system back gesture before it commits and returns if it is cancelled. Each close reports its real reason: back, backdrop, swipe or program.
    • On the Web, viewportEnter staggers surfaces by the order they arrive, as NativeScript does.
    • Desktop entrances start in the same turn as their pose.
    • Sheet · Motion regions.
  • NativeScript:
    • Shimmer, the loaders and the circular reveal now run on Android.
    • Effects pause and resume, and a KeepAlive screen suspends them while it is inactive.
    • motion.haptic() and region viewport entrances go through Jolt.
    • Spring followers gain stop() and jump().
    • MRefreshControl shows one indicator and announces a refresh as it starts, succeeds or fails.

Known gaps:

  • The Windows host draws no elevation shadow and does not announce alerts yet (#478).
  • On Windows, checked and selected state does not reach assistive technology yet (#489), and a minimized window is not detected yet (#490).
  • The remaining desktop work is tracked in #461.

Upgrade

All nine Mavis packages share this version, including the new @getcortexlabs/mavis-desktop. Install Jolt 0.1.0-rc.20 with any renderer, then rebuild native apps. The NativeScript, Web and desktop renderers declare ^0.1.0-rc.20. A desktop host made by an earlier creator keeps its own copy of the host; regenerate apps/<target> to move it to the package. Full changelog.

Mavis UI 0.1.0-rc.18

Mavis UI 0.1.0-rc.18 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 30 Nov 18:29
d59703d

Changes

  • Closing a Web Sheet releases its modal and restores focus even when dismissal changes in the same update or the exit animation is interrupted. Reopening during the exit keeps the new sheet active. Sheet.
  • Seek through a scene of declared surfaces and values. Keyed layout preserves focus while a row grows or moves. Horizontal scroll and fixed-height virtual rows can drive motion through a declared scroll source. Motion regions · Web capabilities.
  • Drag a sortable item horizontally or transfer a Kanban card between columns. Holding a card at a destination’s edge scrolls that column, and dropping commits the accepted position. A regular two-dimensional Web grid also accepts keyboard reordering. Sortable lists · Kanban.
  • Return a zoomed photo to its current thumbnail after reordering a virtual list. A deleted item returns to the collection control. A refused back action keeps the photo open, including after foregrounding the app. Keyed photo returns.
  • Keep a content-sized photo sheet measurable before its image loads. Compose pinch and sheet drag, refresh a scrollable header, and drive a shared return gesture while keeping navigation under application control. The catalog exercises keyboard appearance, interactive return cancellation and focus across viewport changes. Platform motion.
  • Replacing a gradient, blur, text or image effect releases its previous owner. Preserve long Unicode headings and controlled icon artwork. Refresh raster effects after resize and drain finite particle emitters. Portable shapes support compatible path morphs, fill and trim. Visual motion · Icons.
  • Dispose a pending physics world when a body is replaced. Exercise gravity, optional haptic requests and manual sensor replay in the catalog. The optional development inspector samples declared surfaces and controls registered playback. Moving a Web surface outside the region releases the affected registration on the next read or command. Platform motion · Motion inspection.
  • A local comparison of 576 bars recorded a lower update-submission time for the existing chart SVG in Chromium, Firefox and WebKit. The decorative drawing batch submitted faster in the tested iOS simulator and Android emulator. The production chart keeps its existing renderers. Physical Android chart measurements, live device sensor delivery and inspector overhead on recent Android hardware remain open. The SwiftUI macOS target remains archived. Benchmark · Chart measurements #246 · Sensor delivery #256 · Inspector timing #297 · SwiftUI archive.
  • Keep long Timeline titles and times side by side, and constrain custom Tour anchors to their available width on iOS and Android.
  • Draw solid Box borders on the Web from the same borderWidth and borderColor props used by the native catalog. ColorPicker swatches now display their theme border.
  • Skip layout animations when a collection receives the same ordered keys. Keep a focused Pagination button stationary when a page window shifts or keyboard focus enters during a running transition.
  • Size SwipeActions buttons to the revealed area so the entire action is readable and tappable on both sides.
  • The Web renderer now requires Jolt 0.1.0-rc.18.4. Web Kanban preserves the point under the pointer when a card is picked up while responsive columns are moving. Releasing it over another column updates the controlled board and returns focus to its handle.

Upgrade

All eight Mavis packages share this version. Install Jolt 0.1.0-rc.18.4 when targeting both native and Web, then rebuild native apps. The NativeScript renderer declares ^0.1.0-rc.18.2 and the Web renderer declares ^0.1.0-rc.18.4. Full changelog.

Mavis UI 0.1.0-rc.17

Mavis UI 0.1.0-rc.17 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 29 Nov 20:22
85250a4

Components

Most components now respond with Jolt motion on Vue Web and on NativeScript for iOS and Android. Tabs, SegmentedControl, TabBar, Pagination and NavigationRail move their indicators between choices; Popover, Menu, Tooltip and Dialog grow out of the control that opened them; Toasts spring in and can be swiped away; Input, Select, Combobox, PinInput and NumberInput confirm and refuse changes with small, bounded moments. Kanban, Scheduler, NotificationCenter, SwipeDeck, SortableList, Masonry and the charts get their own arrivals and feedback. Every moment respects reduced motion, and animated: false turns a component's decoration off.

MImage gains zoom (pinch, double-tap and pan), an interactive MDialog can be dragged down, MCarousel slides can be interactive cards that still swipe, and MIcon can replace one symbol with another.

Experimental motion

  • Shared navigation: give the picture on two screens the same MBox sharedTag and route through useSharedNavigation(); Jolt flies it between the routes on Web and NativeScript.
  • Gesture relations declare which gesture waits for, blocks or runs with another, including the gestures inside Sheet, Image, Carousel, SwipeActions and SortableList.
  • Motion surfaces add glass(), gradientText(), a bounded drawing() batch, haptic() and sensors with explicit units, plus synthetic replay for tests. lifetime: 'retained' keeps shapes, drawings and paint through KeepAlive.

Upgrade

Install the Mavis packages you use at 0.1.0-rc.17 with @rafaelaugusto/jolt@0.1.0-rc.18.2, then rebuild native apps. On the Web, createMavisServices no longer installs shared navigation, so the services entry stays free of Jolt; apps that use it add createMavisSharedNavigation() to get flights. Full changelog.

Mavis UI 0.1.0-rc.16

Mavis UI 0.1.0-rc.16 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 25 Nov 04:45
3ee2a64

Components

Vue Web and NativeScript for iOS and Android gain three controls. MTagInput edits and pastes multiple tags, MAvatarGroup shows a bounded contributor stack with an overflow count, and MSearchBar exposes a controlled query with submit, clear and cancel.

MImageViewer ignores stale dismissals after replacing a zoom surface. Feed headers and refresh controls retain the visible keyed row during prepends and refresh, and replacing a feed drops its outgoing requests. A bottom MComposer follows the docked iPad keyboard, rests when it floats, and lets a resizing sheet own its own positioning.

Themes, layout and motion

setThemePair({ light, dark }) replaces both themes while preserving appearance mode. This release also fixes interactive Web card state, Web sheet dismissal, skeleton pulse and circular-effect cleanup. The packed Android masonry check now verifies the first card starts at the origin of its board.

The desktop CLI generates NativeScript AppKit apps on macOS and NativeScript XAML apps on Windows. Desktop MReveal fades in through Jolt's native drivers. Projects using the retired SwiftUI generator can keep their RC.15 CLI. SwiftUI archive.

Upgrade

Install the Mavis packages you use at 0.1.0-rc.16 with @rafaelaugusto/jolt@0.1.0-rc.18, then rebuild native apps. The bilingual documentation includes setup for Notti by Zeep Labs, the official Mavis mobile push notification partner. Push notifications · Full changelog.

Mavis UI 0.1.0-rc.15

Mavis UI 0.1.0-rc.15 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 20 Nov 11:07
3aa4ab4

Mavis 0.1.0-rc.15 is an experimental prerelease with nine coordinated packages. Keep all Mavis packages on the same version and rebuild native apps after upgrading.

  • NativeScript desktop CLI: new --targets macos projects use AppKit; Windows uses XAML Islands. Shared Vue Welcome/Directory screens, isolated native dependencies, prerequisite checks, adoption previews and standalone packaging are included. The initial desktop subset has twelve components.
  • Direct mobile starters: React, Angular, Svelte, Solid and plain JS/TS run on iOS/Android with six foundation components. Four dedicated framework packages join the existing core, native, web, compiler and creator packages. npm, pnpm and Yarn are supported.
  • Updated native dependencies: Jolt 0.1.0-rc.17, NativeScript Core 9.1.4 and vue-router-ns 0.1.0. Jolt-only Solid/Svelte peer overrides are removed.
  • Interaction fixes: Kanban drag bounds/lifecycle, header artwork clipping and subtitle ordering, Box layer alignment and native Screen overlay input behavior.
  • SwiftUI retained and deprioritized: explicit --macos-runtime swiftui, existing configs and legacy --target macos remain available. Native SwiftUI CI is paused; its independent JoltSwiftUI pin remains RC.16 because the separate RC.17 Swift publication failed upstream.

Start the CLI:

npx @getcortexlabs/create-mavis@0.1.0-rc.15

Desktop example:

npx @getcortexlabs/create-mavis@0.1.0-rc.15 studio --targets macos,windows --example directory --no-install

Desktop and direct mobile adapters have explicit component/property limits; they do not provide complete cross-platform parity. Windows Reveal changes visibility immediately pending Jolt #519. Svelte Native event/bootstrap compatibility fixes remain until their upstream publication. Simulator/emulator and hosted desktop acceptance do not establish physical-device performance.

Full changelog · CLI guide · NativeScript desktop · Direct mobile adapters

Mavis UI 0.1.0-rc.14

Mavis UI 0.1.0-rc.14 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 13 Nov 10:42
a58da96

Coordinate five packages at 0.1.0-rc.14, including the new @getcortexlabs/mavis-compiler, with Jolt 0.1.0-rc.15. This is an experimental prerelease, not a declaration of complete Mac parity. Keep core, renderers, compiler and creator aligned; reinstall dependencies and rebuild native applications after upgrading.

Mac parity issues #338–#354 remain open. In particular, generated Mac scroll/header controllers and scalar expressions, shape drawing and continuous particles retain explicit unsupported or partial diagnostics. Check the Mac capability matrix before adopting a shared screen. The first publication of the compiler requires npm access to that new package before the creator can be published.

  • Keep TreeSelect option hit boxes stationary during expansion/filtering; Jolt animates row opacity instead of moving interactive rows across newly revealed choices.

  • Scope the generated Mac input label and focus to its editor so trailing actions, including clear, keep their own identity.

  • Split CI compilation, delivery and runtime checks. This experimental RC.14 gates the representative Mac UI smoke set plus complete Swift compilation and packed delivery; the full Mac UI corpus remains an acceptance task. The first full run exposed initial chart hover/Combobox focus differences, Command Palette field lookup and Badge measurements. Other releases and explicit manual full runs retain the eight-shard UI gate.

  • Expand the experimental Mac compiler to shared Vue SFCs as well as TSX. Both formats use one typed model and generate SwiftUI; Vue screens run as written on Web and NativeScript. Support props, named models, events, default/named/scoped slots and shared modules, with source diagnostics for unsupported syntax.

  • Compile shared stores, typed asynchronous host services, watchers and mount/unmount effects to Swift. Generate store ownership and optional startup actions per window. The Directory starter keeps the same Vue search/details/edit screens; its hosts implement typed persistence through localStorage, ApplicationSettings and UserDefaults.

  • Generate Mac navigation from a shared route table, including path/query props, destinations with independent histories, back/forward, deep links, not-found screens and restoration. An open sheet handles Back before the underlying route. Unsupported router constructs receive diagnostics.

  • Add Mac adapters across layout, forms, choices, feedback, overlays, navigation, lists, charts, images and date/time controls. Include responsive stacks, virtualized rows, drag/reorder, image viewing/cropping, file services, scheduling, tours and app-scoped notifications. Publish a per-component capability matrix in the CLI and EN/PT documentation; accepted props and explicit limits are distinct from complete renderer parity.

  • Preserve numeric and textual choice identities across Mac selectors and navigation controls, including 0, 1 and "1". Add pointer preview to MChart on Web/Mac without changing the application's selection until an explicit action.

  • Read literal project defineTheme modules without executing them. Apply scoped light/dark colors, spacing, typography, control sizes, radii, elevation and motion across generated controls while preserving state when themes change.

  • Extend JoltSwiftUI integration with explicit reveals, text/number effects, marquee and finite particles, plus owned motion surfaces, availability cleanup and timelines. Unsupported shape/continuous-particle contracts remain diagnosed with upstream tracking; generated apps retain reduced-motion and suspension behavior.

  • Add preview-first create-mavis --add-macos adoption for Vue + Vite, Nuxt and NativeScript-Vue projects, configurable shared roots and existing-source validation. Package the compiler separately as @getcortexlabs/mavis-compiler, pinned by generated projects, instead of copying compiler internals. Keep platform facades aligned with renderer exports and isolate Nuxt stores per request.

  • Add paired Vue/TSX conformance scenarios, offscreen Swift interaction checks, installed-tarball identity checks and adoption of the published RC.13 Directory starter. Accessibility parity remains a separate follow-up; adapter registration or successful compilation alone is not a guarantee of full parity.

  • Fix dynamic Web popup geometry during Jolt transitions, avoid duplicate remote Combobox searches, and preserve Jolt-owned calendar selection paint through Vue updates. Keep Mac calendar decorations from intercepting clicks and theme shadows from changing control measurements.

  • Upgrade Jolt to 0.1.0-rc.15 across renderer peers (^0.1.0-rc.15), development consumers, capabilities and CLI templates. Generated Mac apps pin jolt-swift 0.1.0-rc.15. Rebuild native applications after upgrading; RC.15 can execute eligible scroll bindings through compiled native sources. The optional jolt-native package is not required by these Mavis adapters.

  • Add shared numeric graphs (add/sub/mul/div, bounds, trigonometry and velocity) through Jolt on Web and NativeScript. Springs can follow derived values; owned outputs release without destroying borrowed inputs. RC.15 exposes different paused-spring velocity semantics between Web and native, tracked in Jolt #508.

  • Add bounded static removal exits to useMavisListMotion and region layout motion. Preserve pending-operation ownership through cancellation, reinsertion and reentrant teardown; unsupported snapshots settle immediately.

  • Move fixed-height MVirtualList updates to Jolt listChanges, preserving stable keys, viewport anchors and drafts while explicitly cancelling recycled-row motion. animated=false disables transitions. Generated Mac apps reject this new option rather than silently ignoring it.

  • Honor automatic/fallback execution in native and section scroll links, report the actual selected backend, refresh native sources in place and release replaced mappings. Section resize no longer retakes channels that an application animation has already claimed.

  • Track remaining acceptance in #139, #193, #185 and #262. New Mac scroll/header and scalar-expression generation stay in #236 and #354; the RC.15 pin does not remove unsupported-feature diagnostics.

  • JoltSwiftUI keeps its motion definitions in code, so a generated Mac app no longer carries a Jolt resource bundle.

  • Remove the Android workaround that stopped a path still in flight before an immediate set. Jolt 0.1.0-rc.14 fixes the stale translation itself.

  • Drag MKanban cards through Jolt drop zones on the Web and NativeScript. Only the handle starts a drag, a gap shows the insertion point while the card stays under the pointer, the 60px/DIP below a column still counts as that column, and a column at capacity or a release outside every column sends the card back. Escape, scrolling, a window that loses focus, a suspended app and a locked board cancel and return it. Ordering, capacity, controlled commits and the keyboard, menu and button alternatives are unchanged.

  • MKanban no longer animates its container when the board's height changes; animated now controls the settling of a released card. On the Web a pointer drag is unavailable while an ancestor of the board is transformed; the alternatives keep working.

  • Fix MKanban on iOS giving every card of a column the height of the whole column until the first change.

Validation: CI run 43408453138 passed all 60 required jobs on the release tree, including the complete portable Web corpus, browser engines, 30 creator combinations, complete Swift compilation, seven Mac delivery checks and Mac UI smoke. Full Mac UI parity remains pending.

Mavis v0.1.0-rc.13

Mavis v0.1.0-rc.13 Pre-release
Pre-release

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 11 Nov 11:15
165caa5

Mavis UI 0.1.0-rc.13 is a prerelease for trying Mavis in real apps. The four packages are published together and require Jolt 0.1.0-rc.13. The API can change between prereleases.

npx @getcortexlabs/create-mavis@0.1.0-rc.13 my-app
# or, in an existing app
npm install @getcortexlabs/mavis@0.1.0-rc.13 @rafaelaugusto/jolt@0.1.0-rc.13        # NativeScript-Vue
npm install @getcortexlabs/mavis-web@0.1.0-rc.13 @rafaelaugusto/jolt@0.1.0-rc.13    # Vue Web and Nuxt

Rebuild native applications after upgrading Jolt.

Project creator

  • Web, Native (iOS and Android through NativeScript) and Mac in any combination: --targets web,native,macos, and a multi-select in the wizard. --target keeps working.
  • --example tasks: a small task manager written once in shared/ and generated for the Web, iOS, Android and the Mac.
  • One versioned catalog behind the wizard, the flags, --doctor and CI. --capabilities prints it, with how far each combination has been taken; a choice that cannot be created is refused with the reason and the alternatives before any file is written.
  • mavis.config.json schema 2 records each app's toolkit, framework, host and rendering. Earlier configurations are migrated when read.

Shared sources with Mac (experimental)

Screens written once as TSX generate Vue on the Web, Vue for NativeScript and SwiftUI on macOS, with a Mavis-owned emitter.

  • Components with typed props and callbacks, useStore state, getters, actions, Show and keyed For.
  • Forms (MInput, MCheckbox, MSelect), list editing, MGrid, MCard and button shortcuts.
  • Motion through Jolt on every target, with JoltSwiftUI on the Mac.

This is a compiler experiment. It does not bring the 92-component catalog to macOS or convert existing .vue screens.

Motion

  • motionPath() and surface.animate({ path, orient }): lines, quadratic and cubic curves with bounds and an end pose known up front.
  • rotateX and rotateY, projected by MBox :perspective on the parent.
  • Shadow channels on a surface that has one shadow, where supports('shadow') is true (Web and iOS), with elevationMotion() to move between theme elevations. Android keeps the static shadow.
  • A motion request is validated before the running motion is replaced.
  • pointerFollow reports presence and available, and follows a hovering pointer on NativeScript.
  • Web: components read the effective reduced-motion preference of their region's Jolt runtime, and configureMavisWebMotion(region, { reducedMotion }) gives a region its own policy.

Fixes

  • Web Combobox, Popover, Tooltip, Dialog and Toast left their closing element in the page when the component unmounted during its exit.
  • Web components that animate their message logged Targets must be mounted HTML elements when the message disappeared while its text changed.
  • A multiline Web MInput in a container whose width changes logged a ResizeObserver loop warning in Safari.
  • A labelled MCard with no action is read as one element.
  • An MCard keeps a shadow that application motion animated when it renders again.

Known limits

  • The Mac target and the shared-source compiler are experimental.
  • Checked on simulators, emulators and browsers; no physical device.
  • On Android, Jolt keeps a path's translationY when a path in flight is replaced by a zero-duration set (rafaelaugustos/jolt#479). Mavis works around it.
  • Reduced motion by region is Web-only and was not validated on NativeScript, where the preference stays Jolt's own (#306).
  • Deep native layouts can still be slow (#56).

The full list is in CHANGELOG.md.

Mavis v0.1.0-rc.12.2 — experimental macOS starter

Choose a tag to compare

@rafaelaugustos rafaelaugustos released this 08 Nov 08:25

A small first step toward shared Mavis screens on macOS: one Mitosis source generates Vue/Vite and native SwiftUI.

npx @getcortexlabs/create-mavis@0.1.0-rc.12.2 first-light --target macos --yes
cd first-light
npm install
npm run macos
# Or: npm run dev:web

The opt-in starter supports MColumn, MRow, MText and MButton, selected theme tokens and simple local state/actions. Mitosis 0.14.2 is installed only as a development dependency in this experimental project. Unsupported syntax fails generation. The generated Mac app uses SwiftUI/@State without a WebView or JavaScript runtime.

This is not full SwiftUI support for the 92-component Mavis catalog, nor automatic conversion of existing Vue screens. macOS 14+ and Xcode are required. Signing/distribution, navigation, async services, Nuxt/native-mobile code generation and other components are outside this experiment. Native button feedback uses SwiftUI and Reduce Motion; no macOS Jolt adapter is claimed.

All four Mavis packages use 0.1.0-rc.12.2. Jolt remains 0.1.0-rc.12.1. Existing Vue/Vite, Nuxt and NativeScript component runtimes are unchanged. Bilingual setup and architecture documentation accompanies the starter.

Validation: 566 unit/SSR tests, types/templates and package/docs/catalog builds; packed creator and generated Vue interactions in Chromium/WebKit; SwiftUI app and escaped-string fixture compiled on macOS. Native GUI click verification is separate from compilation. Existing iOS/Android SDK/device evidence is reused against byte-identical runtime sources (only published-baseline metadata changed).

Closes #308 via #309. The broader portable/native-renderer issues remain open.

All four npm packages and rc/latest tags have been verified. The alpha tag remains unchanged.