Changelog
All notable changes to this project are documented here, in a dedicated section for each release.
Other changes
docs Update changelog
Breaking changes
iconmakes a square, icon-only button in anysize; theicon*sizes are removed.Migration:
replace size="icon",icon-xs,icon-smandicon-lgwithdefault,xs,smorlgplusicon(<wds-button size="sm" icon="lucide-x" label="Close">).wds-paginationandwds-pagination-buttontake the same sizes.Details wds-buttongetsicon: the name of a registered icon that makes a square, icon-only button in anysize(<wds-button size="sm" icon="lucide-x" label="Close">). The sizesicon,icon-xs,icon-smandicon-lgare removed; usexs,sm,defaultorlgwithiconinstead. Content made only of<svg>or<wds-icon>elements also gives a square button, an icon-only button matcheswds-button:state(icon-only), andicon-flip-rtlwithout a value mirrorsicon.wds-togglegetsicontoo.wds-paginationandwds-pagination-buttontakexs,sm,defaultorlgassize, andwds-message-scroller-buttondefaults tosm.
New components
Slides in a row or a column with buttons, dots, dragging, several slides in view, loopandautoplay.Details New wds-carouselwithwds-carousel-item(@wds/core/carousel,@wds/angular/carousel,@wds/react/carousel): slides in a row or a column that scroll natively with snap points, with previous and next buttons, optional dots, mouse dragging, the keyboard, several slides in view (--wds-carousel-per-view), centered slides,loopandautoplaywith a stop button.index,wds-change,next(),prev()andgoTo()control it from code.Navigation that marks the section being read, as a table of contents with levels or a horizontal bar. Details New wds-scrollspywithwds-scrollspy-item(@wds/core/scrollspy,@wds/angular/scrollspy,@wds/react/scrollspy): navigation that marks the section being read in the page or in a scrolling element (target), withoffsetfor sticky headers, a vertical table of contents withlevelindents or a horizontal bar, smooth scrolling and focus on click, andwds-changewith the active section.A list, row or grid reordered with the mouse, touch or the keyboard. Details New wds-sortablewithwds-sortable-itemandwds-sortable-item-handle(@wds/core/sortable,@wds/angular/sortable,@wds/react/sortable): a list, row or grid reordered by dragging with the mouse, touch or the keyboard, with screen reader announcements,wds-change(live order) andwds-commit(once per drag, with the order before it).wds-kanbannow shares its drag handling with it and, like the list, scrolls the nearest scrollable container or the page while the pointer is near its edge.Rows with columns nested into a tree and collapsible groups, with any content in the cells. Details New wds-tree-gridwithwds-tree-grid-group,wds-tree-grid-rowandwds-tree-grid-cell(@wds/core/tree-grid,@wds/angular/tree-grid,@wds/react/tree-grid): rows with columns that nest into a tree byleveland split into collapsible groups, with cells that hold any markup or framework component. Column headers repeat in every group and share widths and order; sorting, resizing and reordering columns firewds-sort-change,wds-column-resizeandwds-column-reorder. Withrow-reorderable(andnestable) rows are dragged by a grip or moved with Alt and the arrow keys, andwds-row-reordersays where they go; a row dropped onto a group outside its rows (also an empty group) comes with an emptytargetand goes to the end of that group. Rows and groups expand and collapse with a toggle or the arrow keys (WAI-ARIA Treegrid pattern).
Features
icon-startandicon-endshow a registered icon before or after the text.Details wds-badgegetsicon-startandicon-end: the name of a registered icon before or after the text (<wds-badge icon-start="lucide-check">Approved</wds-badge>), withicon-startandicon-endparts. The default slot still takes your own<svg>or<wds-icon>.moveActive(step)andselectActive()drive the list when its query comes from outside the search field.Details wds-commandgetsmoveActive(step)andselectActive(), so a list whose query comes from outside the search field (for example a menu under the caret in a text editor) can be driven with the arrow keys and Enter.Reconnecting edges, undo and redo with history, and aminimap.Details wds-flow: a selected edge has grips on both ends to reconnect it (wds-reconnect,reconnectable),historyadds undo and redo (undo(),redo(),clearHistory(),canUndo,canRedo,wds-history-change, Ctrl/⌘ + Z), andminimapshows an overview that pans and zooms the pane.icon-start,icon-endandiconattributes take the name of a registered icon in buttons, toggles, tabs, menus, selects, alerts and more.Details Icon attributes take the name of a registered icon. icon-startandicon-end:wds-button(plusicon-flip-rtl; whileloadingthe spinner takes the place oficon-start),wds-toggle,wds-tab,wds-dropdown-item,wds-sidebar-menu-button,wds-command-item,wds-select-item,wds-combobox-item(also shown in thetrigger="button"field and in chips) andwds-breadcrumb-link;wds-comboboxgetsicon-startat the start of the field.icon:wds-alert,wds-empty,wds-item,wds-input-group-addon,wds-timeline-item,wds-stepper-item,wds-alert-dialogandwds-navigation-menu-link. The icons haveicon-start,icon-endoriconparts; slots still take your own content.Outline icons are modules, and components take their icons from the registry, so registerIcons()also replaces built-in icons.Details Icons have one source. Outline icons are modules: import '@wds/core/icons/lucide/train-front'registers the icon for<wds-icon name="lucide-train-front">and the default export is its name (icons from lucide, ISC License, seedist/icons/LICENSE-lucide.txt). Components no longer contain inline SVG paths: they take their icons from the registry, soregisterIcons()also replaces built-in icons such aslucide-chevron-downinside components. NewdefineIcon(),getIcon(),iconNames()and--wds-icon-stroke;::slottedicon styles also apply towds-icon;wds-mapmarkericonaccepts an icon name.New @wds/core/icon/registryentry: the icon registry without Lit (getIcon,registerIcons,defineIcon), e.g. for rendering icons on the server.New @wds/core/icons/lucide.jsonentry: the lucide version and every icon with its SVG and tags, e.g. for an icon picker that loads them on demand.--wds-input-group-heightsets the height of a single-line group.Details wds-input-groupgets--wds-input-group-height: the height of a single-line group (default 32px, the form control height), e.g. for a larger search field. The input inside follows it.
Fixes
A missing value in the data leaves a gap in a line and no bar instead of a zero. Details wds-chart: a missing value in a data row (null,undefinedor an empty string) leaves a gap in a line and no bar instead of a zero; the tooltip skips the series at that point and the data table shows a dash.A dragged node no longer lags behind the pointer by the 1 px drag threshold. Server rendering no longer fails on inputs that are read-only in the server DOM, such as indexonwds-carousel.Details Server rendering no longer fails on inputs that the server DOM defines as read-only, such as indexonwds-carousel("Cannot set property index of #<Object> which has only a getter"). On the server the wrapper skips such inputs for elements that are not upgraded; in the browser nothing changes.
New components
A chat message with an avatar, header and footer; align="end"for the user's own messages.A message bubble in seven variants, with reactions and quick replies. A file card with upload states ( uploading,processing,error,done).A conversation area that follows new messages, opens at the end, start or last question, lifts a new question to the top and keeps the position when earlier messages load. A box that keeps the ratioof an image, video oriframe.Code with line numbers, highlighted and focused lines, diff marks, copy, download, wrap and expand. Details Syntax highlighting goes through a pluggable highlighter; @wds/core/code-block/shikiregisters one built on Shiki (optional peer dependency).A styled native <select>with<option>and<optgroup>children, form andwds-fieldsupport.Details The Angular select value accessor and signal form field also handle it. Panel groups resized by dragging the handles or with the keyboard.
New components
Columns of cards dragged within and between columns, reorderable and collapsible columns, keyboard support and screen reader announcements.
Features
resizablecolumn widths, rowdensityandrow-reorderablerows.
Features
First versioned release of WDS. @wds/core,@wds/angular,@wds/reactand@wds/tokensshare a single version and are released together.Details Components in this release: Accordion, Alert, Alert Dialog, Avatar, Badge, Breadcrumb, Button, Button Group, Calendar, Card, Chart, Checkbox, Collapsible, Combobox, Command, Context Menu, Data Table, Date Picker, Dialog, Drawer, Dropdown, Empty, Event Calendar, Field, File Upload, Filters, Flow, Frame, Gantt, Hover Card, Icon, Input, Input Group, Input OTP, Item, Kbd, Map, Menubar, Navigation Menu, Number Field, Pagination, Popover, Progress, Radio, Scroll Area, Select, Separator, Sheet, Sidebar, Skeleton, Slider, Spinner, Stepper, Switch, Table, Tabs, Textarea, Time Picker, Timeline, Toast, Toggle, Toggle Group, Tooltip and Tree. Built-in texts are in English and Polish and follow the langattribute.