Changelog
Changelog
All notable changes to this project are documented here. The project follows Semantic Versioning: a new component or feature raises the minor version, a fix the patch version, and an incompatible change the major version.
[1.11.0] - 2026-10-26
Added
Pagination— links to the pages of a list, without JavaScript:hrefas a{page}template or a function (fits Astro’spaginate()), ellipses for long ranges (totalVisible), previous/next arrows withrel, optional first/last arrows,colorandactiveColor,size,rounded,variantandactiveVariant. The current page hasaria-current="page"; all labels can be translated.
[1.10.0] - 2026-10-26
Added
Breadcrumbs— the path to the current page in a<nav>with an ordered list: items with links, icons and disabled states,aria-current="page"on the last one, a text or icondivider, linkcolor, and optional schema.orgBreadcrumbListstructured data (schema).
[1.9.0] - 2026-10-26
Added
Alert— success, info, warning and error messages:typesets the color and icon;title,textand slots,variant,color,icon, an accentborder,prominent,closablewith analert:closeevent. Warnings and errors getrole="alert", the restrole="status"; text on tinted variants meets WCAG AA in both themes.
[1.8.0] - 2026-10-26
Added
Tooltip— a hint on hover and keyboard focus, positioned with Floating UI in the top layer:textor rich content, anylocation,openDelay/closeDelay. Linked witharia-describedby, hoverable and dismissible with Escape (WCAG 1.4.13).
Changed
MenuandTooltipshare one Floating UI positioning helper.
[1.7.0] - 2026-10-26
Added
Checkbox— a native checkbox with Vuetify’s look:labelor a slot,color,indeterminate,hint,error,rules(requiredmeans checked).
[1.6.0] - 2026-10-26
Added
Switch— an on/off toggle on a native checkbox (role="switch"), no JavaScript:labelor a slot,color,inset(Material 3 look),hint,error,rules(requiredmeans on).
Fixed
Formtreats an unchecked checkbox as empty, sorequiredworks on checkboxes.
[1.5.0] - 2026-10-26
Added
Menu— a dropdown next to its activator, positioned with Floating UI (anylocation, flips and shifts, follows scrolling) in the top layer.itemswith links, actions (menu:selectevent), icons, colors, disabled items and dividers, with the WAI-ARIA menu button keyboard pattern; free-form content in the slot;openOnHoverandcloseOnContentClick.
[1.4.0] - 2026-10-26
Added
NavigationDrawer— a menu that slides in from theleft,right,toporbottomedge on the native<dialog>:title,closable,prepend/appendslots and a scrolling<nav>; opens from theactivatorslot ordata-drawer-open, closes on the backdrop, Escape,data-drawer-closeand link clicks (closeOnNavigate);width,persistent,open.
Changed
DialogandNavigationDrawershare one browser script for opening, closing and the scroll lock.
[1.3.0] - 2026-10-26
Added
Dialog— modal dialog on the native<dialog>: title, text and actions likeCard; opens from theactivatorslot ordata-dialog-open, closes withdata-dialog-close,closable, the backdrop or Escape;persistent,width,fullscreen,open. Page scroll is locked while it’s open — keeping the scrollbar’s space, so the page doesn’t shift — with open/close animations.
Fixed
Card,ChipandAvatarshow theirtextprop when an MDX page passes them an empty default slot (e.g. a component written on one line with only named slots).
[1.2.0] - 2026-10-26
Added
Textarea— multi-line field withTextInput’s variants, floating label, hint, error and validation;rows,autoGrowwithmaxRows, a charactercounterandnoResize.Formvalidates textareas withrules.
[1.1.0] - 2026-10-26
Added
Avatar— an image, icon or text (e.g. initials) in a circle or rounded square; size steps or pixels,variant,color,roundedand an accessiblelabel. Imported images are optimized withastro:assets, and a broken image falls back to the text underneath.
[1.0.0] - 2026-10-26
First versioned release.
Added
Button—elevated,flat,tonal,outlinedandtextvariants;color,size,roundedandblock; renders a link withhref.Icon— Lucide icons (bws-astro-ui/icons) or imported.svgfiles, with size steps and an accessiblelabel.Card— title, subtitle, body and actions as props or slots;variant,color,rounded.Chip— variants, colors, sizes, icons, link chips and closable chips (chip:closeevent).ChipGroup— single or multiple selection on native radios/checkboxes;mandatory,filter,selectedVariant.TextInput—filled,outlinedandunderlinedwith a floating label, hint and error;prepend-inner/append-innerslots.NumberInput— step buttons (default,split,hidden) respectingmin,maxandstep.Select— accessible dropdown (WAI-ARIA combobox) positioned with Floating UI;location.Formand validation rules (bws-astro-ui/rules) shared by the browser and the server (validateForm).- Light/dark themes: theme roles,
data-theme(light,dark,system),ThemeScriptandsetTheme/toggleTheme(bws-astro-ui/theme).