# SearchInput changelog Read the complete [LICENSE](https://snowui.dev/LICENSE) for the installed version before use. Reviewed against Chinese source SHA-256 `8e2a6aaa51fd137eb1397165c4e5ca44cdfb0583528ab9ef482ecafb866ec346`. For version differences, check the installed package as well. ### v1.3.1 (2026-10-23) - Borderless mode uses the resolved Input gap and actual clear-button width, fixing insufficient native-text extension at small root sizes. Measurement reuses the shared resize manager and cleans up its subscription. - Use the actual Input content state for collapse, fixing unbound inputs remaining expanded after clearing. Do not duplicate input values, native events or business-query logic. - 2026-09-21: Aligned the usage guide, source Prop table, and Site / AI reading entry. Documentation only; component behavior is unchanged. ### v1.3.0 (2026-08-10) - Added responsive `collapseBelow`. When empty and unfocused, an explicit single-column layout reduces the control to its search icon; the former clear-button slot and gap no longer take width. Minimum width equals actual horizontal padding plus the intrinsic width of the leading Icon. Focusing or entering a value restores the real input content and interaction. - Size observation reuses the global `resizeManager` and does not create a component-private `ResizeObserver`. ### v1.2.1 (2026-07-05) - Fixed width changes while entering text in a `borderless` SearchInput inside a shrink-to-fit host. `width: auto; max-width: 100%` replaces percentage width that fed back into intrinsic-size calculation; fill behavior in Flex and Block hosts is unchanged. - When `borderless` has a value, the Input control keeps its original grid column so the reserved clear-button column still contributes to intrinsic width. The control extends across the gap and X column, preserving text proximity to X, layering, and fade behavior. ### v1.2.0 (2026-07-05) - Changed to a specialized Input-host component. Compatible Props are derived from the Input type and flattened; `parts.Input` was removed. DOM and styling are unchanged. ### v1.1.0 (2026-06-20) - Added `variant="borderless"` for explicit use inside Toolbar, panels, and other existing surfaces. The component fills remaining width by default and keeps internal content vertically centered. ### v1.0.1 (2026-05-09) #### Changes - The built-in default `Search` icon becomes Black/40 in the active state. The rule is scoped to SearchInput and does not affect shared Icon styling. ### v1.0.0 (2026-05-08) #### New features - Added a simple search field with built-in `Search`; other behavior inherits from Input. [Component guide](https://snowui.dev/llms/en/components/search-input.md) · [Full reference](https://snowui.dev/llms/en/components/search-input/reference.md)