htmlstreamofficial/preline
 Watch   
 Star   
 Fork   
2026-08-21 23:39:11
preline

v5.0.0 - Preline MCP, AI Prompts, Animated Icons and more

v5.0 — Preline MCP, AI Prompts, Animated Icons and more

Released August 21, 2026

This release features Preline MCP support, AI Prompts for all Blocks, Animated Icons, Improvements and Fixes.

[!NOTE] At the moment, Preline MCP (terms apply) and Animated Icons are available for Preline Pro only.

⭐ New Components & Improvements

  • Components: Added a new Created with Preline MCP carousel showcase example.
  • Docs: Added the AI Prompts guide with per-block prompt usage, agent setup guidance, and notes on AI output expectations.
  • Docs: Added an Animated Icons page collecting the CSS icon marks, each looping so the motion can be watched without hovering.
  • Components: Added native Tailwind CSS scrollbar width, gutter, and color examples to the Custom Scrollbar docs.

🔄 Updates

  • Updated: Tailwind CSS to v4.3

✅ Fixes and Improvements

  • Fixed: Updated Advanced Datepicker calendar styles so week labels and date rows align correctly (weekend columns no longer disappear and the dates grid is no longer transposed into columns), with improved selected-range styling. #765 and #771
  • Fixed: Fixed Advanced Range Slider chart theme syncing, and ApexCharts root theme handling.
  • Fixed: Fixed Clipboard modal copy tooltip and icon visibility in the modal example.
  • Improvement: Added request and requestCompleted events to Advanced Select to track the lifecycle of apiUrl requests (search and apiLoadMore pagination), useful for showing loading indicators. #767
  • Fixed: Fixed Advanced Select apiUrl requests throwing an "Invalid URL" error when apiUrl was set to a relative path. #761 and #762
  • Fixed: Updated the Advanced Select documentation to add the previously undocumented value, viewport, dropdownDirectionClasses, dropdownSpace, searchTemplate, searchWrapperTemplate, searchWrapperClasses, apiPageStart, and apiTotalPath options, extend apiFieldsMap with page, offset, and limit, replace the stale optionGroupTemplate entry with optgroupTag, and fix the additionalClasses option name typo. #763 and #764
  • Fixed: Fixed Tree View isIndeterminate option using || instead of ?? for its fallback, which incorrectly forced the default true value even when explicitly set to false. #759
  • Fixed: Fixed Advanced Select's addOption setting the data-hs-select-option attribute to the string "undefined" when no options object was passed; it now serializes as "null" instead. #760
  • Fixed: Fixed reverse (Shift+Tab) keyboard navigation escaping the Modal, Offcanvas, Dropdown, and Advanced Select focus traps instead of cycling within them. #770

Full changelog: https://preline.co/docs/changelog.html#v5.0

2026-05-10 21:58:53
preline

v4.2.0 - New components, 10+ framework guides, and quality improvements

Adds Marquee components, expands Stepper and Spinner examples, adds 13 framework guides, and includes Tailwind CSS v4.2.x support plus dropdown and scrollspy fixes.

New Components & Improvements

Updates

  • Updated: Tailwind CSS to v4.2.x
  • Updated: Replaced legacy aspect-ratio plugin usage with native Tailwind CSS aspect-ratio utilities and removed the @tailwindcss/aspect-ratio dependency.

Fixes and Improvements

  • Fixed: Preserve selected remote options in dropdown across searches in tags mode and fix crash when re-selecting an option after a subsequent search. [Issue #752]
  • Fixed: Fix browser back button navigating away from page instead of returning to previous section by replacing replaceState with pushState and adding a popstate listener in scrollspy. [Issue #749]
2026-03-19 10:19:43
preline

v4.1.3 - Updated documentation for frameworks

Fixes and Improvements

  • Fixed: Documentation updated according to the latest Preline release. [Issue #746]
  • Fixed: Add wildcard exports for css, src, dist and variants.css to support bare specifier imports.
2026-02-28 04:15:53
preline

v4.1.2 - Plugin export issue causing incorrect behavior.

This update addresses a plugin export issue that could cause incorrect behavior. Now, the installation docs includes the additional options for manual initialization.

Fixes and Improvements

  • Fixed: Resolved an issue with plugin exports that could cause plugins to be incorrectly exposed or unavailable in certain setups. [Issue #745]
2026-02-28 04:15:53
preline

v4.1.1 -Added missing Themes files to NPM package.

This update adds missing Themes CSS files to the NPM package.

2026-02-25 08:24:43
preline

v4.1.0 - Plugin ecosystem and architecture improvements

This update addresses core architecture improvements for plugins, other general improvements and fixes from Github issues.

Fixes and Improvements

- Improvements: Improved module entry architecture to support better tree-shaking by separating auto-init and manual-init flows. Added a dedicated preline/non-auto entry for explicit initialization, while preserving preline as the plug-and-play auto-init path. Also marked side-effectful entries explicitly and kept per-plugin imports preline/plugins/* as the recommended on-demand integration path.[Issue #697]. - Improvements: Add searchMatchMode to HSSelect ("substring", "chars-sequence", "token-all", "hybrid") to improve multi-word and non-consecutive matching, so queries like "Alpha Charlie" can match "Alpha Bravo Charlie Delta" while keeping legacy isSearchDirectMatch backward compatible. [Issue #730] - Fixed: HSOverlay.autoInit() re-initialization behavior after dynamic DOM updates to ensure overlays close correctly and restore the hidden state without getting stuck open. [Issue #704] - Fixed: Incorrect positioning of fixed dropdowns inside sticky containers. - Fixed: Accessibility issues within nested components. - Fixed: Fixed tooltips getting stuck in some cases - for example, when scrolling the page quickly, they wouldn’t disappear.

2026-01-28 09:05:04
preline

v4.0.0 - New Preline Themes, 10+ Framework Guides, Improvements Bug Fixes and more.

This update introduces Preline Themes, a new foundation for customization and visual identity, along with numerous improvements, bug fixes, and new framework guides.

Themes are defaulted to all Preline content but they are optional. You may use full utility classes instead. All components, examples and templates comes with Copy Utility Classes option.

New

Fixes and Improvements

  • Fixed: role="region" added to the collapse components to address the latest W3C Nu HTML Checker and Lighthouse/axe-core accessibility rules
  • Previously, validators were more permissive about aria-labelledby on any element. Recent accessibility rules became stricter and now enforce that aria-labelledby cannot be used on a <div> unless that <div> has an allowed role.
  • Fixed: Remove the duplicated search input in "tags" mode. [Issue #677]
  • Fixed: Links inside the dropdown now respond to the Enter key for accessibility. [Issue #691]
  • Fixed: Issue with fast typing and pasting data in the combobox. [Issue #692]
  • Fixed: Bug in advanced select with infinite scroll paging. [Issue #693]
  • Fixed: Double URL encoding in advanced select remote data API calls. [Issue #695]
  • Fixed: Text inputs not responding to keyboard input within dropdown components. [Issue #700]
  • Improvement: Added support for blank values in input number component. [Issue #702]
  • Fixed: Input number max value validation not updating input field in real-time. [Issue #708]
  • Improvement: Advanced Select now properly renders <optgroup> elements. [Issue #710]
  • Fixed: HSDatePicker now recalculates its position on open (using Floating UI), preventing the calendar from rendering off-screen. [Issue #713]
  • Fixed: Form elements inside the overlay no longer prevent the Enter key while focused. [Issue #723]
  • Fixed: Add support for pre-rendering selected options on initial load. [Issue #733]
  • Improvement: Improved image validation for icons. [PR #672]
  • Fixed: data-hs-overlay-keyboard="false" now works as intended — overlays/modal windows no longer close when pressing ESC if the attribute is disabled. [PR #694]
  • Improvement: Add support for extracting date separators from dateFormat. [PR #717]
  • Improvement: Improve scrollbar width calculation for different screen resolutions. [PR #735]
2025-08-07 02:01:20
preline

v.3.2.3 - Accessibility related issue has been fixed

Fixes and Improvements

2025-08-04 01:00:46
preline

v3.2.2 - Build related issue has been fixed

Fixes and Improvements