v0.4.0
This release contains dependency updates and improves stylesheet isolation of the component. Behavior around the dark mode has changed:
- Dark mode is now activated by the
darkCSS class when it is added to any parent element of the search component. - Activation of dark mode through the
darkprop is deprecated but still works as before (by adding thedarkclass to the search component internally). This prop could be removed in a future version.
To update to the new dark mode handling, take a look at the example below:
+ <div className={theme === "dark" ? "dark" : ""}>
- <div>
+ <ReactSearchComponent {...} />
- <ReactSearchComponent {...} dark={theme === "dark"} />
</div>What's Changed
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #172
- fix(deps): update dependency lucide-react to ^0.555.0 by @renovate[bot] in #174
- fix(deps): update dependency lucide-react to ^0.561.0 by @renovate[bot] in #176
- chore(deps): update dependency node to v24 by @renovate[bot] in #161
- Bump storybook from 10.0.8 to 10.1.10 by @dependabot[bot] in #177
- chore(deps): update dependency globals to v17 by @renovate[bot] in #181
- Bump qs from 6.14.0 to 6.14.1 by @dependabot[bot] in #180
- fix(deps): update dependency lucide-react to ^0.562.0 by @renovate[bot] in #179
- Dark mode handling improvements by @craquet in #183
Full Changelog: v0.3.0...v0.4.0