Repository navigation
Mavis UI 0.1.0-rc.17
Pre-releaseComponents
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
sharedTagand route throughuseSharedNavigation(); 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 boundeddrawing()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.