Reference
[09] Reference
Changelog 1.2
Release notes for @vaneui/ui 1.2.0 to 1.2.1, released 2026-08-19 to 2026-08-20: added props and components, changes and fixes. The changelog page has the latest version.
1.2.1
2026-08-20
Fixed
Every appearance on
Imgpainted the same neutral border. An appearance is only a palette: it sets the intermediate--app-*variables, and the variant axis is what maps those onto--border-color.data-variantis emitted only when a variant key is extracted, andImgdeclared the variant category but set no variant default, so<Img border danger>and<Img border success>resolved identically.Imgnow defaults tooutline, like every other component. A plain<Img>is unchanged: with no appearance it still emits neither attribute.This is the same failure as
Spinnerin 1.1.3, reached a different way, so it is now a test rather than a fix.appearanceResolution.test.tsasserts that every component declaring an appearance also resolves a variant, withLinkas the one documented exception (itsLinkVariantClassMapperconsumes--app-textdirectly). Class-name assertions cannot see this class of bug: the class list is identical whether or not the colour resolves.
1.2.0
2026-08-19
Changed
ButtonandIconButtonnow render theSpinnercomponent for their loading state, instead of a private ring the library maintained separately. There was one ring drawn two ways:.vane-button-spinner-ringand.vane-spinnerhad already drifted to different stroke rules once, and every future change to the spinner had to be made in both places.The button forwards its own size, so the ring still matches the button rather than falling back to
Spinner'smddefault, and the ring still inherits the button's text color, so a filled button gets a light ring. It stays decorative:aria-busyon the button already conveys the state, so theSpinner'srole="status"is suppressed and the wrapper isaria-hidden.Two things change for consumers who reach into the theme:
The
.vane-button-spinner-ringclass no longer exists. The element a loading button renders is now.vane-spinner.theme.button.spinner.spinnerElementis gone. Restyle the ring throughtheme.spinnerinstead, which now covers standalone spinners and buttons at once:<ThemeProvider extraClasses={{ spinner: { primary: 'border-4' } }}>
On this page