Changelog
What's shipping across @vyui/core and @vyui/kit — one rolling timeline, newest first.
- @vyui/kitv0.3.0
@vyui/kit v0.3.0
Minor Changes
- c344b72: Per-component subpath entries for tree-shakeable consumption.
@vyui/kitnow exposes every component as its own entry point (@vyui/kit/button,@vyui/kit/tray, …) with the same canonicalVy*bindings as the barrel, so migrating is a specifier swap. Because the vue-lynx main-thread worklet pipeline prunes bysideEffectsglobs over whatever is reached (bare side-effect imports erase export usage), deep entries are the only way to ship less: importing@vyui/kit/buttonnow reaches ~37 modules / 26 worklet registrations instead of the barrel's ~294 / 118.
To make this work end-to-end, kit's build rewrites its own@vyui/corebarrel imports to per-file deep specifiers (@vyui/core/dist/components/….vue.js), and@vyui/coreexposes a./dist/*.jswildcard export to resolve them. Barrel imports (import { VyButton } from '@vyui/kit') keep working unchanged — they just keep the everything-ships behavior.
Also fixes@vyui/kit'ssideEffects: false, which let bundlers drop the package entirely from the vue-lynx main-thread worklet slice (entered via a bare side-effect import that uses no exports), so every transitively-imported@vyui/coreworklet went unregistered and consumers crashed withbind of undefined. Kit now declares the samesideEffectsglobs as core. - c344b72: Ship per-file, source-shaped ESM dist (Vite lib + Rollup
preserveModules) instead of an rslib bundle.- Fixes the
__WEBPACK_EXTERNAL_MODULE_vue_lynx_* is not definedmain-thread crash for npm consumers of worklet-driven components (VyTray, VyDrawer, Slider, …): worklet modules now keep direct namedvue-lynximports the consumer's MT toolchain can follow. - Fixes the follow-on
cannot read property 'bind' of undefinedmain-thread crash: each pre-compiled worklet module retains a"main thread"marker so the consumer'sworklet-loader-mtextracts itsregisterWorkletInternalcalls (with_wkltIds matching the background bundle) instead of dropping them.@vyui/kit'ssideEffectsis widened to keep the transitive-core-worklet MT imports from being tree-shaken. - SFC
<style>CSS is now published and auto-imported per module — the old bundle stubbed it, so consumers silently lost component styles. - Each SFC ships as a single
X.vue.js; acheck-dist-shapeguard fails the build on any bundle fingerprint or a worklet module missing its marker.
- Fixes the
Patch Changes
- a2696c9: Add an experimental
VyCalendarcomponent with ISO-string date selection and a built-in Lynx date-runtime caveat. - a2696c9: Breaking: components are now exported under a single canonical
Vy*name only. The bare aliases (Button,Card,Icon,AspectRatio, …) have been removed so there is one name per component — the same one theVyUIplugin registers globally. Update imports fromimport { Button } from '@vyui/kit'toimport { VyButton } from '@vyui/kit'. The unprefixedIcon/AspectRatioprimitives remain available from@vyui/core. - Updated dependencies c344b72
- Updated dependencies c344b72
- @vyui/core@0.2.0
- c344b72: Per-component subpath entries for tree-shakeable consumption.
- @vyui/corev0.2.0
@vyui/core v0.2.0
Minor Changes
- c344b72: Per-component subpath entries for tree-shakeable consumption.
@vyui/kitnow exposes every component as its own entry point (@vyui/kit/button,@vyui/kit/tray, …) with the same canonicalVy*bindings as the barrel, so migrating is a specifier swap. Because the vue-lynx main-thread worklet pipeline prunes bysideEffectsglobs over whatever is reached (bare side-effect imports erase export usage), deep entries are the only way to ship less: importing@vyui/kit/buttonnow reaches ~37 modules / 26 worklet registrations instead of the barrel's ~294 / 118.
To make this work end-to-end, kit's build rewrites its own@vyui/corebarrel imports to per-file deep specifiers (@vyui/core/dist/components/….vue.js), and@vyui/coreexposes a./dist/*.jswildcard export to resolve them. Barrel imports (import { VyButton } from '@vyui/kit') keep working unchanged — they just keep the everything-ships behavior.
Also fixes@vyui/kit'ssideEffects: false, which let bundlers drop the package entirely from the vue-lynx main-thread worklet slice (entered via a bare side-effect import that uses no exports), so every transitively-imported@vyui/coreworklet went unregistered and consumers crashed withbind of undefined. Kit now declares the samesideEffectsglobs as core. - c344b72: Ship per-file, source-shaped ESM dist (Vite lib + Rollup
preserveModules) instead of an rslib bundle.- Fixes the
__WEBPACK_EXTERNAL_MODULE_vue_lynx_* is not definedmain-thread crash for npm consumers of worklet-driven components (VyTray, VyDrawer, Slider, …): worklet modules now keep direct namedvue-lynximports the consumer's MT toolchain can follow. - Fixes the follow-on
cannot read property 'bind' of undefinedmain-thread crash: each pre-compiled worklet module retains a"main thread"marker so the consumer'sworklet-loader-mtextracts itsregisterWorkletInternalcalls (with_wkltIds matching the background bundle) instead of dropping them.@vyui/kit'ssideEffectsis widened to keep the transitive-core-worklet MT imports from being tree-shaken. - SFC
<style>CSS is now published and auto-imported per module — the old bundle stubbed it, so consumers silently lost component styles. - Each SFC ships as a single
X.vue.js; acheck-dist-shapeguard fails the build on any bundle fingerprint or a worklet module missing its marker.
- Fixes the
- c344b72: Per-component subpath entries for tree-shakeable consumption.
- @vyui/kitv0.2.0
@vyui/kit v0.2.0
Minor Changes
- 5109043: Add
defineVyuiConfig(new@vyui/kit/configentry) so a project's theme is authored once and fed to both the Tailwind preset (build) andprovideVyUI/app.use(VyUI)(runtime), removing the hand-syncedcolorsduplication between the two planes.createVyuiPresetnow accepts adefineVyuiConfigresult ({ ui: { colors } }) alongside the flat{ colors, neutral, shades }formcreateVyuiPresetdev-warns when a semantic color can't be backed by a--ui-color-*var (no more silent "class resolves to nothing")@vyui/kit/configis a light, jiti-safe entry — importing it intailwind.config.tsnever pulls component code into the build path
- 5109043: Add
- @vyui/corev0.1.2
@vyui/core v0.1.2
Patch Changes
- cbbbcbf: Ensure tray, drawer, and action sheet content renders above the sheet backdrop by default, and disable automatic capitalization and correction for kit email and password inputs.
- @vyui/kitv0.1.2
@vyui/kit v0.1.2
Patch Changes
- cbbbcbf: Ensure tray, drawer, and action sheet content renders above the sheet backdrop by default, and disable automatic capitalization and correction for kit email and password inputs.
- Updated dependencies cbbbcbf
- @vyui/core@0.1.2
- @vyui/corev0.1.1
@vyui/core v0.1.1
Patch Changes
- bb4d208: Add
VyTray— a morphing, multi-view bottom sheet built on the coreSheetprimitives. Views (VyTrayView) are measured per screen and the panel animates its height to fit whichever is showing ("grows into place"), with a back stack (useTray().goBack/canGoBack), a persistent#footerslot, andfloating(detached card) vsflush(edge-anchored) variants.@vyui/coreSheetContentgains afitContentprop that sizes the panel to its natural content height instead of asnapPoints × viewportfraction — the drag/slide/backdrop physics reuse the measured height, so nothing else changes. This is the modeVyTraybuilds on. - 31c2202: Add side-aware sheet and drawer motion.
SheetRootnow acceptssidefor top, right, bottom, and left edge placement with matching slide animations and drag-to-dismiss physics.VyDrawerforwards its side to the core sheet, and sheet-backed kit components can opt into alternate edges.
Edge placement and the enter/leave slide keyframes key off avyui-sheet__content--{side}class rather than a[data-side]attribute selector, so they apply on Lynx native (which does not match attribute selectors in CSS) — restoring the open/close animation on device.
- bb4d208: Add
- @vyui/kitv0.1.1
@vyui/kit v0.1.1
Patch Changes
- bb4d208: Add
VyTray— a morphing, multi-view bottom sheet built on the coreSheetprimitives. Views (VyTrayView) are measured per screen and the panel animates its height to fit whichever is showing ("grows into place"), with a back stack (useTray().goBack/canGoBack), a persistent#footerslot, andfloating(detached card) vsflush(edge-anchored) variants.@vyui/coreSheetContentgains afitContentprop that sizes the panel to its natural content height instead of asnapPoints × viewportfraction — the drag/slide/backdrop physics reuse the measured height, so nothing else changes. This is the modeVyTraybuilds on. - 31c2202: Add side-aware sheet and drawer motion.
SheetRootnow acceptssidefor top, right, bottom, and left edge placement with matching slide animations and drag-to-dismiss physics.VyDrawerforwards its side to the core sheet, and sheet-backed kit components can opt into alternate edges.
Edge placement and the enter/leave slide keyframes key off avyui-sheet__content--{side}class rather than a[data-side]attribute selector, so they apply on Lynx native (which does not match attribute selectors in CSS) — restoring the open/close animation on device. - Updated dependencies bb4d208
- Updated dependencies 31c2202
- @vyui/core@0.1.1
- bb4d208: Add
- @vyui/corev0.1.0
@vyui/core v0.1.0
Minor Changes
- 0610d70: Input/Textarea: surface the on-screen keyboard via a normalized
keyboardevent.InputandTextarea(core) andVyInput/VyTextarea(kit) now emitkeyboardwith{ visible: boolean, height: number, safeAreaBottom: number }, normalized from Lynx's raw element payload{ show, keyBoardHeight, safeAreaBottom }(note the capital B inkeyBoardHeight).- This is the reliable keyboard signal under vue-lynx: the global
GlobalEventEmitterkeyboardstatuschangedevent is emitted natively but is not delivered to the vue-lynx background runtime, so the per-element event is what consumers (and keyboard-aware lifts) should use. Seedocs/upstream/vue-lynx-keyboard.md. VyTextareaalso now forwardsconfirm/focus/blur(previously onlyupdate:modelValue), matchingVyInput.
Patch Changes
- 0610d70: FeedList: honour a
noMoreDataprop so the end-of-list footer no longer shows while more pages remain.
Previously the coreFeedListrendered thenoMoreDataFooterslot wheneverloadingMorewas false, so "no more items" appeared immediately even with pages still loadable (the kitVyFeedListalready forwardednoMoreData, but core ignored it). The footer row now only renders whileloadingMore(load-more spinner) or oncenoMoreDataistrue(end-of-list); otherwise no footer renders. - baf0692: Fix drawer/sheet not opening fully: Lynx native drops the
dvhunit, collapsing the panel to its content height. Size the sheet panel withvhand switch all viewport-height classes in the kit themes (drawer, modal, select, combobox, popover, dropdownMenu, island, actionSheet) fromdvhtovh. - 0610d70: Fix Sortable drag-to-reorder doing nothing on device/web:
- Registry was empty on the main thread. Items registered their handle via a background-thread write to the
itemHandlesMTMainThreadRef, which vue-lynx 0.4.0 silently drops. The lifted row never moved, siblings never shifted, and the drop sawcount === 0so no reorder committed. Registration (element + index) now runs on the main thread, bound tomain-thread-binduiappear, with MT teardown on unmount andrunOnMainThreadsetter worklets for index/disabled sync. - Long-press used MT
setTimeout. The main-thread worklet runtime does not exposesetTimeout/clearTimeout(internal in@lynx-js/types), so the long-press timer threw and the row never lifted for anylongPressMs > 0. The hold is now timed by pollingrequestAnimationFrameon the main thread.
Public props/emits/slots unchanged. - Registry was empty on the main thread. Items registered their handle via a background-thread write to the
- 300e34f: Keep sheet snap and drag geometry synchronized with dynamic viewport changes, and make kit swipers fill their measured container when no explicit item width is provided.
- 0610d70: Input/Textarea: surface the on-screen keyboard via a normalized
- @vyui/kitv0.1.0
@vyui/kit v0.1.0
Minor Changes
- 0610d70: Input/Textarea: surface the on-screen keyboard via a normalized
keyboardevent.InputandTextarea(core) andVyInput/VyTextarea(kit) now emitkeyboardwith{ visible: boolean, height: number, safeAreaBottom: number }, normalized from Lynx's raw element payload{ show, keyBoardHeight, safeAreaBottom }(note the capital B inkeyBoardHeight).- This is the reliable keyboard signal under vue-lynx: the global
GlobalEventEmitterkeyboardstatuschangedevent is emitted natively but is not delivered to the vue-lynx background runtime, so the per-element event is what consumers (and keyboard-aware lifts) should use. Seedocs/upstream/vue-lynx-keyboard.md. VyTextareaalso now forwardsconfirm/focus/blur(previously onlyupdate:modelValue), matchingVyInput.
Patch Changes
- 300e34f: Add small horizontal (landscape) mode support — the work that gets the kit-demo running on mobile in landscape. Compact, viewport-safe layouts for overlays, sheets, menus, tabs, steppers, islands, cards, alerts, and toasts. Select and Combobox sheet structure is now fully themeable for responsive overrides.
- 0610d70: Input: forward
@focusand@blurevents.- The core
Inputemitsfocus/blur(with the current value), but theVyInputwrapper only re-emittedupdate:modelValueandconfirm, so consumers couldn't react to focus changes (e.g. to drive a keyboard-aware lift). It now forwards both.
- The core
- 0610d70: IslandButton: bake the icon color so the theme's foreground actually applies.
IslandButtonrendered its glyph through Lynx's<svg>, which rasterizes the XML and can't inheritcurrentColor— so thetext-slate-*utility on theleadingIconslot (and the darkertext-slate-900active shade) never reached the icon, leaving it stuck on its default fill (invisible on dark/active pills).- It now resolves the foreground utility off the merged
leadingIconclass — honoring the active state and any consumerui.leadingIconoverride — and passes it to<VyIcon :color>, matching the pattern already used byButton,Input,Alert, andCombobox. Non-palette colors (e.g. arbitrarytext-[#abc]) fall back to the icon'scurrentColordefault.
- 491db6a: Default input chrome to neutral: form controls no longer paint a primary border or icon by default.
- Resting border on
Input,Textarea,Select,Combobox,NumberFieldandPinInputis now neutral (border-neutral-200) regardless ofcolor— matching the no-focus-state reality on Lynx. The colored border stays available as opt-in via thehighlightprop. - Leading/trailing icons (and
NumberFieldsteppers) now default to neutral (dimmed) instead of thecolorpalette; override per-icon with your own:colorvia theleading/trailingslots. RadioGroup: space the control from its label withgap-2on the item instead ofms-2on the wrapper — Lynx ignores logical inline margins, which collapsed the dot and text together.
- Resting border on
- baf0692: Fix drawer/sheet not opening fully: Lynx native drops the
dvhunit, collapsing the panel to its content height. Size the sheet panel withvhand switch all viewport-height classes in the kit themes (drawer, modal, select, combobox, popover, dropdownMenu, island, actionSheet) fromdvhtovh. - 300e34f: Keep sheet snap and drag geometry synchronized with dynamic viewport changes, and make kit swipers fill their measured container when no explicit item width is provided.
- 14e0722: Add
@vyui/cli, a shadcn-style CLI that copies@vyui/kitcomponents (and their dependencies) into a project from a style-namespaced registry, rewriting imports to the consumer's aliases.init/add/stylescommands; tsconfig/jsconfig alias + package-manager detection.- Shadcn-style project preflight and automatic, idempotent app-entry/Tailwind wiring.
list,view,info, interactiveadd, and--dry-rundiscovery/preview workflows.- Safe upgrades: explicit components may be overwritten while shared files and transitive dependencies remain user-owned.
- Registry targets are contained to the project root (rejects
..// absolute / null-byte paths). - Cyclic registry dependency graphs resolve instead of deadlocking.
kit: drive the switch thumb with flex justification instead oftranslate-x-*(Lynx dropstransformpainting), and reset the native<textarea>user-agent border. - 300e34f: Make vertical tabs reserve a navigation rail and let their content fill the remaining width. Vertical triggers no longer inherit the horizontal
pillvariant'sflex-1stretch — they keep their natural height and left-align their icon/label so the rail reads as a sidebar list. - Updated dependencies 0610d70
- Updated dependencies 0610d70
- Updated dependencies baf0692
- Updated dependencies 0610d70
- Updated dependencies 300e34f
- @vyui/core@0.1.0
- 0610d70: Input/Textarea: surface the on-screen keyboard via a normalized
- @vyui/corev0.0.6
Gesture & scroll motion overhaul
A motion-focused release: the scroll and gesture primitives gain the physics they were missing on native Lynx.
FeedList gets a full pull-to-refresh + paging surface. Pull-to-refresh is a custom rubber-band driven by
:main-thread-bindtouch*worklets on a bare<list>— it only engages at the top edge, so normal scrolling and load-more are untouched. New:enableRefresh+v-model:refreshing,refreshThreshold,refresh/refreshStateChangeemits and arefreshHeaderslot ({ state, progress });enableBouncerubber-band overscroll at both edges;itemSnapnativeitem-snappaging with asnapemit; and debounced load-more onscrolltolowerwithloadMoreFooter/noMoreDataFooterslots. The legacy native<refresh>path (unregistered in the OSS Lynx runtime) is removed.ScrollView adds a main-thread custom bounce/overscroll system mirroring lynx-ui:
enableBounces,singleSidedBounce,alwaysBouncing, trigger-distance and estimated-size props,enableRTL,upperBounceItem/lowerBounceItemslots, and anonScrollToBouncesevent — driven by the newuseBouncecomposable.Swiper loop is now truly seamless — edge slides are cloned and the transform rebases invisibly across the first↔last seam under both drag-release and autoplay. Adds
loop/circular,axisLock,autoplay+interval, plus lynx-ui prop parity:spaceBetween,mode,align+containerWidth,offsetLimit, andrtl.Sortable, Draggable & SwipeAction tighten on-device gesture fidelity: velocity-aware release (fling/momentum), axis locking, autoscroll near Sortable list edges, and bounds clamping, via shared helpers in
shared/gesture/physics.ts. Fixes two regressions — Sortable long-press now arms entirely on the main thread (the BG round-trip was being dropped on-device), and SwipeAction cancels its in-flightfill: 'forwards'snap on touchstart so a follow-up slow drag isn't masked.Toast internals are prepped for stacking:
ToastRootbinds its own@layoutchangeto feed fan-out geometry, exposesdurationandprogressslot values, and ships a newToastSwipemain-thread swipe-to-dismiss layer (exporting the unit-testeddecideDismisspolicy). - @vyui/kitv0.0.4
Stacked toasts & FeedList gestures
@vyui/kit@0.0.4brings the new core gesture surface to the styled components.Toast gains Sonner-style behaviour, all off by default:
stacked— collapses toasts into an overlapping pile (front toast fully visible, the rest peeking scaled-down behind it) and fans them out when expanded; tap to toggle. PairstackFrom(top|bottom) with theToastViewportposition.swipe(+swipeDirection) — fling a toast sideways to dismiss. The card rides an innerToastSwipelayer so the swipe transform never collides with the stacking transform.progress— a thin countdown bar that drains with the auto-dismiss timer (pauses while expanded, hidden whenduration: 0).
A plain
VyToaststill renders as a single gapped-column card.FeedList wrapper now forwards the full pull-to-refresh surface to core —
enableRefresh,v-model:refreshing,refreshThreshold,enableBounce, therefresh/refreshStateChangeemits, and therefreshHeaderslot ({ state, progress }) — plus the newitemSnapprop andsnapemit. TheloadMoreFooterslot is aligned with core's new no-arg signature (the footer renders only while loading). - @vyui/corev0.0.5
@vyui/core v0.0.5
Patch Changes
- Add AspectRatio — headless
@vyui/coreprimitive (AspectRatioRoot, exported as bothAspectRatioandAspectRatioRoot) that constrains its default slot to a givenratio(number, default1). (#46)
Built for the Lynx render layer: it renders a single<view>using the native CSSaspect-ratioproperty (supported by Lynx's Starlight layout engine), with no absolutely-positioned padding wrapper. - Add Avatar — Lynx-native
@vyui/coreprimitives (AvatarRoot/AvatarImage/AvatarFallback).AvatarRootprovides image load-status context;AvatarImagerenders a Lynx<image>and downgrades to the error state onbinderror(@error);AvatarFallbackshows when no image is loaded, with adelayMsflash-avoidance delay. (#46)
Refactor@vyui/kit'sVyAvatarto compose the new core primitives for behaviour (load-status + fallback) while keeping its publicAvatarPropsAPI, initials derivation, chip overlay, theming, andAvatarGroupsize/color inheritance unchanged. - Fixes from #67, #68 and #70. (#71)
@vyui/core:- Icon: reject
colorvalues that could inject SVG markup when resolving icon sources (#67). - Sheet: multi-snap drag now settles to the nearest snap point, with main-thread usage fixes across
SheetContentImpl,DraggableanduseDragGesture(#68). - Primitive: treat
imageas a self-closing leaf — Vue's empty-slot fragment/comment anchors were materialized as real children by vue-lynx, and a native<image>with any child fails to render (native-only breakage; lynx-web tolerated it) (#70).
@vyui/kit:- Forward icon classes/props through ActionSheet, Alert, Button, Tabs, Toast, ToggleGroup and DropdownMenu items, and fix Drawer/theme slot classes so drawer animations work again (#70).
- Icon: reject
- Add AspectRatio — headless
- @vyui/kitv0.0.3
@vyui/kit v0.0.3
Patch Changes
- Add Avatar — Lynx-native
@vyui/coreprimitives (AvatarRoot/AvatarImage/AvatarFallback).AvatarRootprovides image load-status context;AvatarImagerenders a Lynx<image>and downgrades to the error state onbinderror(@error);AvatarFallbackshows when no image is loaded, with adelayMsflash-avoidance delay. (#46)
Refactor@vyui/kit'sVyAvatarto compose the new core primitives for behaviour (load-status + fallback) while keeping its publicAvatarPropsAPI, initials derivation, chip overlay, theming, andAvatarGroupsize/color inheritance unchanged. - Configurable semantic colors (nuxt/ui-style), defined once and extensible. (#48)
- Single source of truth
theme/color-constants.js(shared by themes + Tailwind preset);neutralsplit out of the configurableCOLORSlist and appended automatically (nuxt/ui parity). - Theme files are now builder functions
(colors) => themeObject;useStyledComponentinvokes them with the resolved list soappConfig.ui.colorsconfigures the set at runtime. @vyui/kit/tailwindadds acreateVyuiPreset({ colors })factory; the default export is unchanged.- True type parity via the augmentable
VyuiColorRegistryinterface —declare module '@vyui/kit' { interface VyuiColorRegistry { tertiary: true } }makes custom colors autocomplete + typo-check on every componentcolorprop, no build plugin needed.scripts/gen-colors.mjsgenerates the registry augmentation + CSS-var block. - Fixes a latent
ThemeTVwidening that typedcolor(and other variants) asPropertyKeyonuseStyledComponent-based components.
Breaking: theme default exports changed from objects to builder functions;COLORSno longer includesneutral(useALL_COLORS). - Single source of truth
- Fixes from #67, #68 and #70. (#71)
@vyui/core:- Icon: reject
colorvalues that could inject SVG markup when resolving icon sources (#67). - Sheet: multi-snap drag now settles to the nearest snap point, with main-thread usage fixes across
SheetContentImpl,DraggableanduseDragGesture(#68). - Primitive: treat
imageas a self-closing leaf — Vue's empty-slot fragment/comment anchors were materialized as real children by vue-lynx, and a native<image>with any child fails to render (native-only breakage; lynx-web tolerated it) (#70).
@vyui/kit:- Forward icon classes/props through ActionSheet, Alert, Button, Tabs, Toast, ToggleGroup and DropdownMenu items, and fix Drawer/theme slot classes so drawer animations work again (#70).
- Icon: reject
- Fix stranded foreground colors on Lynx (
enableCSSInheritance: false). Color set on a wrapping<view>slot never reached the nested text/icon, so it rendered in the default color — invisible on dark/colored surfaces (e.g. a neutral-solid button or solid card). (#52)
Foregroundtext-*now lands on the text-bearing slots (label / title / description / icon / input value) acrossinput,textarea,numberField,select,combobox,toggle,toggleGroup,chip,islandButton,card,accordion,dropdownMenu,tabs,stepper. State-driven colors on child elements use thegroup-data-[state=…]form, and the Tailwind preset safelist is widened to cover those variants so they aren't purged. - Updated dependencies [
1b0d3bc,1b0d3bc,9a0241c]:- @vyui/core@0.0.5
- Add Avatar — Lynx-native
- @vyui/corev0.0.4
@vyui/core v0.0.4
Patch Changes
- Add NumberField — headless
@vyui/coreprimitive (NumberFieldRoot/NumberFieldInput/NumberFieldIncrement/NumberFieldDecrement) with min/max/step, clamp/snap and decimal-precision handling, plus a styledVyNumberFieldin@vyui/kit. (#44)
FixInputnot reflecting programmatic value changes on native Lynx — controlled updates that don't originate from typing are now pushed through the imperativesetValuepath (the reactivevaluebinding is initial-only on a native<input>). This makes NumberField's increment/decrement buttons update the field on iOS/Android, not just web.
Avatar now falls back to initials/icon when its image fails to load (wires the Lynx<image>binderrorevent).
DocumentVyComboboxas the autocomplete pattern —searchablefiltering over a fixed set covers the use case, so there is no separate Autocomplete component.
Widen@vyui/kit's@vyui/corepeer-dependency range from^to~so it tracks0.0.xcore patches without forcing a major bump.
- Add NumberField — headless
- @vyui/kitv0.0.2
NumberField, Island DX & polish
@vyui/kit@0.0.2adds a component, sharpens an existing one, and fixes a handful of native-Lynx rough edges.NumberField — a new headless
@vyui/coreprimitive (NumberFieldRoot/NumberFieldInput/NumberFieldIncrement/NumberFieldDecrement) with min/max/step, clamp/snap and decimal-precision handling, plus a styledVyNumberFieldin@vyui/kit.Island gets a clearer API and better defaults. A new
layerprop (overlay/base/inline) splits stacking from placement:positionnow only picks the viewport edge (top/bottom), whilelayerdecides whether the island floats over content, sits on a low layer beneath modals and drawers, or drops into normal flow for a parent to place. Floating is applied via an inlinestyle, so a lone<VyIsland>hovers with no wrapper on Lynx. Out of the boxIslanddefaults tooverlayandIslandGrouptobottom, so both float sensibly with zero config.Fixes & docs
Inputnow reflects programmatic value changes on native Lynx — controlled updates that don't come from typing are pushed through the imperativesetValuepath, so NumberField's increment/decrement work on iOS and Android, not just web.Avatarfalls back to initials/icon when its image fails to load, wiring the Lynx<image>binderrorevent.VyComboboxis documented as the autocomplete pattern —searchablefiltering covers the use case, so there's no separate Autocomplete component.- The
@vyui/corepeer-dependency range widens from^to~, so kit tracks0.0.xcore patches without forcing a major bump.
- @vyui/corev0.0.3
Lynx-native a11y & shared gestures
Accessibility is wired through Lynx-native APIs instead of DOM assumptions, and the Swiper's gesture physics is extracted into a shared engine behind
useDragGesturewith a genericpickSnaphelper — ready to power any swipe-driven primitive. - @vyui/kitv0.0.1
Styled Button, Switch & Tabs
@vyui/kitpublishes its first styled components — Button, Switch, and Tabs — composed on top of@vyui/coreprimitives. Available now on npm as@vyui/kit@0.0.1. - @vyui/corev0.0.2
Performance & packaging
Icon resolution is memoized across instances to cut repeated work, with dependency pruning and packaging hardening to keep
@vyui/corelean and safe to install. - @vyui/corev0.0.1
First release
@vyui/corepublishes its first primitives: behavioural, accessible building blocks that run natively on Lynx and on the web from a single Vue codebase. Zero styling — compose them yourself or reach for@vyui/kit. - @vyui/kitInitial
Kit scaffolded
@vyui/kitis scaffolded as part of the monorepo, sitting alongside@vyui/coreand the documentation site — the home for opinionated, themed components.