Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ body:
attributes:
label: Versions
description: Mavis packages, Jolt, and the browser, OS or device. Say whether it is a simulator, an emulator or a physical device.
placeholder: mavis-web 0.1.0-rc.20, Jolt 0.1.0-rc.20, Safari 26 on macOS
placeholder: mavis-web 0.1.0-rc.21, Jolt 0.1.0-rc.22, Safari 26 on macOS
validations:
required: true
- type: textarea
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased
## 0.1.0-rc.21 — 2026-12-04

All nine Mavis packages use version **0.1.0-rc.21**. Install **Jolt 0.1.0-rc.22** with the Web, NativeScript or desktop renderer and rebuild native applications after upgrading.

- [Fields, images, placeholders and status marks](docs/guide/motion.md#replacing-content-in-place) cross-fade or turn when content changes in place. Clearing a photo restores the avatar initials and releases the outgoing image. Outgoing marks keep their previous ink, and validation and accessible names update immediately. Includes iOS and Android recordings.
- Adopt Jolt 0.1.0-rc.22. [Web virtual lists](docs/components/virtual-list.md#reordering-a-thousand-rows-on-the-web) keep the dragged row mounted through a continuous reorder. Native speed dials align their panel with the visible trigger in wide rows and stay open when Android repeats a scroll notification for the same offset. Web layout exits preserve static form values, simple SVG and generated text. Gradients support endless playback, and desktop loops hold when their view detaches.
Expand Down
121 changes: 56 additions & 65 deletions docs/.vitepress/catalog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -201,72 +201,63 @@ export const componentCategories = [
},
]

// Badges describe changes introduced in the current release, or in the next one for the ids
// listed as upcoming. Clear both lists when a release is published.
// Components whose pages changed in this release.
export const upcomingComponents = [
'app-bar',
'avatar',
'avatar-group',
'badge',
'carousel',
'chip',
'data-table',
'donut-chart',
'empty-state',
'file-picker',
'form-errors',
'form-group',
'gradient-background',
'image',
'input',
'kanban',
'list-detail',
'marquee',
'masonry',
'multi-select',
'notification-center',
'popover',
'progress',
'range-slider',
'search-bar',
'segmented-control',
'select',
'skeleton',
'slider',
'sortable-list',
'speed-dial',
'steps',
'tab-bar',
'tabs',
'timeline',
'toast',
'transfer-list',
'tree-select',
'virtual-list',
]
export const componentUpdates = Object.fromEntries(
upcomingComponents.map((slug) => [slug, slug === 'list-detail' ? 'new' : 'updated']),
)
// The same for guide pages, by the last segment of their path.
export const upcomingGuides = [
'foundation',
'native-adapters',
'component-contract',
'web',
'nuxt',
'platform-motion',
'visual-motion',
'native-desktop',
'desktop-components',
'macos-appkit',
'motion',
'motion-regions',
]
// Items already shipped carry the release version. Add an item to the upcoming list for changes after it.
export const upcomingComponents = []
export const componentUpdates = {
'app-bar': 'updated',
avatar: 'updated',
'avatar-group': 'updated',
badge: 'updated',
carousel: 'updated',
chip: 'updated',
'data-table': 'updated',
'donut-chart': 'updated',
'empty-state': 'updated',
'file-picker': 'updated',
'form-errors': 'updated',
'form-group': 'updated',
'gradient-background': 'updated',
image: 'updated',
input: 'updated',
kanban: 'updated',
'list-detail': 'new',
marquee: 'updated',
masonry: 'updated',
'multi-select': 'updated',
'notification-center': 'updated',
popover: 'updated',
progress: 'updated',
'range-slider': 'updated',
'search-bar': 'updated',
'segmented-control': 'updated',
select: 'updated',
skeleton: 'updated',
slider: 'updated',
'sortable-list': 'updated',
'speed-dial': 'updated',
steps: 'updated',
'tab-bar': 'updated',
tabs: 'updated',
timeline: 'updated',
toast: 'updated',
'transfer-list': 'updated',
'tree-select': 'updated',
'virtual-list': 'updated',
}
export const upcomingGuides = []
export const guideUpdates = {
'ota-updates': 'new',
create: 'updated',
...Object.fromEntries(upcomingGuides.map((slug) => [slug, 'updated'])),
foundation: 'updated',
'native-adapters': 'updated',
'component-contract': 'updated',
web: 'updated',
nuxt: 'updated',
'platform-motion': 'updated',
'visual-motion': 'updated',
'native-desktop': 'updated',
'desktop-components': 'updated',
'macos-appkit': 'updated',
motion: 'updated',
'motion-regions': 'updated',
}
const statusText = (status, pt) =>
status === 'new'
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/theme/CatalogLegend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const { lang } = useData()
<p class="catalog-legend">
{{
lang === 'pt-BR'
? `A Mavis ${releaseVersion} traz ao criador as atualizações pela rede: JavaScript, CSS e assets assinados para o app NativeScript, publicados pelo Orbit. Novo e Atualizado marcam o que muda nesta versão.`
: `Mavis ${releaseVersion} adds over-the-air updates to the creator: signed JavaScript, CSS and assets for the NativeScript app, published through Orbit. New and Updated mark what this release changes.`
? `Os selos Novo e Atualizado identificam as mudanças da Mavis ${releaseVersion}.`
: `New and Updated mark the changes in Mavis ${releaseVersion}.`
}}
</p>
</template>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/adopt-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Add Web or NativeScript without moving an existing Mavis applicatio
# Add a platform to an existing app

::: info Alpha.10
These commands and APIs are included in Mavis RC.12. Keep core, renderers and the creator at the same version. Run the commands below with `npx @getcortexlabs/create-mavis@0.1.0-rc.20` in place of `create-mavis`, or use the CLI installed in your project.
These commands and APIs are included in Mavis RC.12. Keep core, renderers and the creator at the same version. Run the commands below with `npx @getcortexlabs/create-mavis@0.1.0-rc.21` in place of `create-mavis`, or use the CLI installed in your project.
:::

## Add iOS and Android to Vue or Nuxt
Expand Down
8 changes: 4 additions & 4 deletions docs/guide/foundation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Run the Mavis UI catalog on Web, iOS or Android and register the co

# Getting started

Version `0.1.0-rc.20` is a prerelease for trying Mavis in real apps. The API can change between prerelease versions. Code and documentation use the MIT license.
Version `0.1.0-rc.21` is a prerelease for trying Mavis in real apps. The API can change between prerelease versions. Code and documentation use the MIT license.

::: info NativeScript desktop · RC.19
The RC.19 creator uses NativeScript AppKit for Mac and XAML for Windows through the new `@getcortexlabs/mavis-desktop` package, with 99 components in experimental form. [Native desktop setup](./native-desktop) · [Desktop components](./desktop-components).
Expand All @@ -24,20 +24,20 @@ Choose Web, iOS/Android, Mac and Windows through the [creator catalog](./create)
In an existing **NativeScript-Vue** app using Core 9.1.4 and NativeScript-Vue 3.1.3:

```sh
npm install @getcortexlabs/mavis@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.22
npm install @getcortexlabs/mavis@0.1.0-rc.21 @rafaelaugusto/jolt@0.1.0-rc.22
```

Jolt is required. The core package is installed as a Mavis dependency. Android adapter changes require a native build; when upgrading an existing app, run `ns clean` if metadata from an earlier version remains.

In a **Vue Web** app using Vue 3.5.42:

```sh
npm install @getcortexlabs/mavis-web@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.22
npm install @getcortexlabs/mavis-web@0.1.0-rc.21 @rafaelaugusto/jolt@0.1.0-rc.22
```

Import `@getcortexlabs/mavis-web/style.css` in the app entry. It requires Jolt `0.1.0-rc.22` or newer, without native SDKs; see [motion](./motion).

The npm tags `rc` and `latest` target `0.1.0-rc.20` after publication. Keep the exact version while testing. Deep native layouts can still be slow ([#56](https://github.com/getcortexlabs/mavis-ui/issues/56)). VoiceOver may skip a newly inserted offscreen status ([#54](https://github.com/getcortexlabs/mavis-ui/issues/54)). Device and keyboard coverage is incomplete. Read the [release notes](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) before adopting the release candidate.
The npm tags `rc` and `latest` target `0.1.0-rc.21` after publication. Keep the exact version while testing. Deep native layouts can still be slow ([#56](https://github.com/getcortexlabs/mavis-ui/issues/56)). VoiceOver may skip a newly inserted offscreen status ([#54](https://github.com/getcortexlabs/mavis-ui/issues/54)). Device and keyboard coverage is incomplete. Read the [release notes](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) before adopting the release candidate.

The catalog opens on individual components; complete examples live in Showcase. To contribute or run the catalog from source, follow the steps below.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/motion-depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Move a declared Mavis surface along a curve, rotate it around the X

# Paths, depth and shadows

Mavis **0.1.0-rc.15** introduced these experimental additions with Jolt **0.1.0-rc.17**. Mavis **0.1.0-rc.20** uses Jolt **0.1.0-rc.20**.
Mavis **0.1.0-rc.15** introduced these experimental additions with Jolt **0.1.0-rc.17**. Mavis **0.1.0-rc.21** uses Jolt **0.1.0-rc.22**.

`surface.animate()` takes three more kinds of motion: a path that owns `x` and `y`, `rotateX` and `rotateY`, and the four channels of one shadow. Every request is checked before a renderer replaces the motion that is already running, so a rejected request leaves the surface as it was.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/native-adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The consumer pins Node 22.23.3, TypeScript 6.0.3, NativeScript iOS 9.1.0, Androi
RC.15 creates direct iOS/Android starters: Replace `react` with `angular`, `svelte`, `solid` or `plain` (JS/TS). npm, pnpm and Yarn are supported; Web/desktop combinations with these frameworks are rejected. Desktop hosts use Vue; see [Mac and Windows](./native-desktop).

```sh
npx @getcortexlabs/create-mavis@0.1.0-rc.20 phone --targets native --framework react
npx @getcortexlabs/create-mavis@0.1.0-rc.21 phone --targets native --framework react
cd phone
npm install
npm run ios
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/native-desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ outline: deep
The creator builds standalone apps for **AppKit on macOS** and **XAML Islands on Windows**, using NativeScript's published Node-API runtimes. Vue runs the shared screens and state; `@getcortexlabs/mavis-desktop` renders native controls. There is no WebView or development server in the packaged application.

::: info Availability
These experimental presets are available in `@getcortexlabs/create-mavis@0.1.0-rc.20`, where the generated hosts use the `@getcortexlabs/mavis-desktop` package described here. Hosts from RC.18 or earlier carry their own copy of twelve components. `--capabilities --json` reports each preset and its component coverage.
These experimental presets are available in `@getcortexlabs/create-mavis@0.1.0-rc.21`, where the generated hosts use the `@getcortexlabs/mavis-desktop` package described here. Hosts from RC.18 or earlier carry their own copy of twelve components. `--capabilities --json` reports each preset and its component coverage.
:::

## Create and run

```sh
npx @getcortexlabs/create-mavis@0.1.0-rc.20 studio --targets macos,windows --example directory --no-install
npx @getcortexlabs/create-mavis@0.1.0-rc.21 studio --targets macos,windows --example directory --no-install
cd studio
npm run install:apps
npm run macos # on macOS
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Source validation baseline: **Nuxt 4.6.3, Vue 3.5.44, Node 22.23.3 and Jolt 0.1.

## Install and register

Install `@getcortexlabs/mavis-core@0.1.0-rc.20`, `@getcortexlabs/mavis-web@0.1.0-rc.20` and `@rafaelaugusto/jolt@0.1.0-rc.22` together. To test a local checkout, use `npm ci && npm run release:pack` and install the core/Web tarballs from `artifacts/release/packages` instead. Do not install the NativeScript renderer into the Nuxt app.
Install `@getcortexlabs/mavis-core@0.1.0-rc.21`, `@getcortexlabs/mavis-web@0.1.0-rc.21` and `@rafaelaugusto/jolt@0.1.0-rc.22` together. To test a local checkout, use `npm ci && npm run release:pack` and install the core/Web tarballs from `artifacts/release/packages` instead. Do not install the NativeScript renderer into the Nuxt app.

Load the Web stylesheet in `nuxt.config.ts`; it includes the bundled icon font. Custom fonts belong to the host: define/preload their assets and configure matching theme family names on server and client.

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/web-motion.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description: Shared choreography, Web SVG and HTML composition, and the verified

# Jolt Web capabilities

These integrations are available since **Mavis 0.1.0-rc.12**. Mavis RC.19 uses **Jolt 0.1.0-rc.20** ([release notes](https://github.com/rafaelaugustos/jolt/releases/tag/v0.1.0-rc.20)). They remain experimental.
These integrations are available since **Mavis 0.1.0-rc.12**. Mavis RC.21 uses **Jolt 0.1.0-rc.22** ([release notes](https://github.com/rafaelaugustos/jolt/releases/tag/v0.1.0-rc.22)). They remain experimental.

RC.18 supports [combined motion values](./motion#combined-values-with-jolt-rc-15), [bounded removed-item exits](./adopt-platforms#animate-filtered-and-reordered-lists) and [keyed transitions in virtualized lists](../components/virtual-list). Native CollectionView integration is tracked in [#185](https://github.com/getcortexlabs/mavis-ui/issues/185).

See also the [visual and collection integrations](./visual-motion) and [platform motion](./platform-motion). The templates pin Mavis RC.19 with Jolt RC.19.
See also the [visual and collection integrations](./visual-motion) and [platform motion](./platform-motion). The templates pin Mavis RC.21 with Jolt RC.19.

## Shared choreography

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Open the `/playground/` URL printed by Vite. The Web example needs no native SDK
| Native rendering and Jolt integration | `packages/nativescript/src` |
| HTML rendering and browser styles | `packages/web/src` |

Shared screens import Vue APIs from `vue`, themes from `@getcortexlabs/mavis-core`, and `useMavisTheme` from `@getcortexlabs/mavis-core/vue`. NativeScript's build resolves `vue` to its native renderer. Each app registers its own Mavis implementation once. If shared code imports core directly, declare `@getcortexlabs/mavis-core@0.1.0-rc.20` as a dependency of each app.
Shared screens import Vue APIs from `vue`, themes from `@getcortexlabs/mavis-core`, and `useMavisTheme` from `@getcortexlabs/mavis-core/vue`. NativeScript's build resolves `vue` to its native renderer. Each app registers its own Mavis implementation once. If shared code imports core directly, declare `@getcortexlabs/mavis-core@0.1.0-rc.21` as a dependency of each app.

For example, this template works in both:

Expand All @@ -53,7 +53,7 @@ For example, this template works in both:
In an existing Vue app, install the release candidate:

```sh
npm install @getcortexlabs/mavis-web@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.22
npm install @getcortexlabs/mavis-web@0.1.0-rc.21 @rafaelaugusto/jolt@0.1.0-rc.22
```

Then register the components and load the CSS:
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-BR/guide/adopt-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Acrescente Web ou NativeScript sem mover a aplicação Mavis e decl
# Adicionar uma plataforma ao app existente

::: info Alpha.10
Estes comandos e APIs fazem parte do Mavis RC.12. Mantenha core, renderizadores e CLI na mesma versão. Nos comandos abaixo, use `npx @getcortexlabs/create-mavis@0.1.0-rc.20` no lugar de `create-mavis`, ou a CLI instalada no projeto.
Estes comandos e APIs fazem parte do Mavis RC.12. Mantenha core, renderizadores e CLI na mesma versão. Nos comandos abaixo, use `npx @getcortexlabs/create-mavis@0.1.0-rc.21` no lugar de `create-mavis`, ou a CLI instalada no projeto.
:::

## Acrescentar iOS e Android ao Vue ou Nuxt
Expand Down
8 changes: 4 additions & 4 deletions docs/pt-BR/guide/foundation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Execute o catálogo Mavis UI na Web, no iOS ou no Android e registr

# Começar

A versão `0.1.0-rc.20` é um prerelease para testar a Mavis em apps reais. A API pode mudar entre prereleases. Código e documentação usam a licença MIT.
A versão `0.1.0-rc.21` é um prerelease para testar a Mavis em apps reais. A API pode mudar entre prereleases. Código e documentação usam a licença MIT.

::: info Desktop NativeScript · RC.19
A CLI RC.19 usa NativeScript AppKit para Mac e XAML para Windows pelo novo pacote `@getcortexlabs/mavis-desktop`, com 99 componentes em fase experimental. [Desktop nativo](./native-desktop) · [Componentes de desktop](./desktop-components).
Expand All @@ -24,20 +24,20 @@ Escolha Web, iOS/Android, Mac e Windows conforme o [catálogo da CLI](./create).
Em um app **NativeScript-Vue** existente, com Core 9.1.4 e NativeScript-Vue 3.1.3:

```sh
npm install @getcortexlabs/mavis@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.22
npm install @getcortexlabs/mavis@0.1.0-rc.21 @rafaelaugusto/jolt@0.1.0-rc.22
```

O Jolt é uma dependência obrigatória. O pacote core é instalado como dependência da Mavis. Alterações no adapter Android exigem um build nativo; ao atualizar um app existente, execute `ns clean` se houver metadados de uma versão anterior.

Em um app **Vue Web** com Vue 3.5.42:

```sh
npm install @getcortexlabs/mavis-web@0.1.0-rc.20 @rafaelaugusto/jolt@0.1.0-rc.22
npm install @getcortexlabs/mavis-web@0.1.0-rc.21 @rafaelaugusto/jolt@0.1.0-rc.22
```

Importe `@getcortexlabs/mavis-web/style.css` na inicialização. Exige Jolt `0.1.0-rc.22` ou posterior, sem precisar dos SDKs nativos. Veja [movimento](./motion).

As tags npm `rc` e `latest` terão `0.1.0-rc.20` após a publicação. Mantenha a versão exata enquanto testa. Layouts nativos profundos ainda podem ser lentos ([#56](https://github.com/getcortexlabs/mavis-ui/issues/56)). O VoiceOver pode pular um status recém-inserido fora da área visível ([#54](https://github.com/getcortexlabs/mavis-ui/issues/54)). A matriz de aparelhos e teclados ainda está incompleta. Consulte as [notas da versão](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) antes de adotar a release candidate.
As tags npm `rc` e `latest` terão `0.1.0-rc.21` após a publicação. Mantenha a versão exata enquanto testa. Layouts nativos profundos ainda podem ser lentos ([#56](https://github.com/getcortexlabs/mavis-ui/issues/56)). O VoiceOver pode pular um status recém-inserido fora da área visível ([#54](https://github.com/getcortexlabs/mavis-ui/issues/54)). A matriz de aparelhos e teclados ainda está incompleta. Consulte as [notas da versão](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) antes de adotar a release candidate.

O catálogo abre nos componentes individuais; exemplos completos ficam em Showcase. Para contribuir ou executar o catálogo pelo código-fonte, siga os passos abaixo.

Expand Down
2 changes: 1 addition & 1 deletion docs/pt-BR/guide/motion-depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Mova uma superfície declarada do Mavis por uma curva, gire em torn

# Trajetórias, profundidade e sombras

O Mavis **0.1.0-rc.15** introduziu esses recursos experimentais com o Jolt **0.1.0-rc.17**. O Mavis **0.1.0-rc.20** usa o Jolt **0.1.0-rc.20**.
O Mavis **0.1.0-rc.15** introduziu esses recursos experimentais com o Jolt **0.1.0-rc.17**. O Mavis **0.1.0-rc.21** usa o Jolt **0.1.0-rc.22**.

`surface.animate()` aceita mais três tipos de movimento: uma trajetória que é dona de `x` e `y`, `rotateX` e `rotateY`, e os quatro canais de uma sombra. Todo pedido é conferido antes de o renderizador substituir o movimento em andamento; um pedido recusado deixa a superfície como estava.

Expand Down
2 changes: 1 addition & 1 deletion docs/pt-BR/guide/native-adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ O consumidor fixa Node 22.23.3, TypeScript 6.0.3, NativeScript iOS 9.1.0, Androi
A RC.15 cria starters diretos para iOS/Android: Troque `react` por `angular`, `svelte`, `solid` ou `plain` (JS/TS). A CLI aceita npm, pnpm e Yarn, e recusa combinações Web/desktop com esses frameworks. Os hosts desktop usam Vue; veja o [guia de Mac e Windows](./native-desktop).

```sh
npx @getcortexlabs/create-mavis@0.1.0-rc.20 phone --targets native --framework react
npx @getcortexlabs/create-mavis@0.1.0-rc.21 phone --targets native --framework react
cd phone
npm install
npm run ios
Expand Down
Loading
Loading