1.1.0
Release 1.1.0 – Changelog Summary
This release adds first-class support for disabled states and default values, improves search robustness, and greatly expands test coverage. Docs, examples, and build tooling were refreshed to make adoption seamless.
-
New Disabled State Support
Initialize a select as disabled (or mirror the nativedisabledattribute) and prevent interaction at the custom button level.
Improves accessibility and avoids accidental changes in read-only contexts. -
Default Value on Init
NewdefaultValueoption (anddata-default-valuesupport) preselects an item during initialization, with sensible precedence.
Reduces boilerplate and ensures the UI reflects intended defaults immediately. -
Safer Initialization & Template Handling
Skips empty selects, rebuilds the internal template reliably, and guards event handlers when disabled.
Increases stability across edge cases and dynamic DOM scenarios. -
Search Robustness & UX
Live search normalizes whitespace, respectscaseSensitive, and can keep the active item visible.
Produces more intuitive filtering and cleaner lists for end users. -
Public API Enhancements
Addedenable()/disable()and refinedvaluegetter/setter to reset or select reliably.
Makes programmatic control straightforward for app logic and tests. -
Examples & README Updates
New examples for Disabled select and Default value; CDN snippets now reference@1.1.0.
Shortens time-to-value with copy-pasteable demos. -
Expanded Jest Test Suite
Comprehensive tests now cover init paths, options, live search, selection, API methods, and disabled/default flows.
Boosts confidence and prevents regressions. -
Dev Container Modernization
Dockerfile updated to PHP 8.3, adds Node 18 + Yarn for local builds.
Smooths contributor setup and aligns with current tooling.
Compatibility: Backward compatible.
Full Changelog: 1.0.0...1.1.0