* feat(composable-api): Step 1, new core package, pull basic state up higer (#2771)
* feat(composable-api): Step 1, new core package, pull basic state up higher
* Package cleanup, update core Readme
* Cleanup to fix weird import behavior
* Fix dependencies
* Try fixing deps again
* Track new package dist in CI
* Make sure to restore core package
* feat(composable-api): Step 2, composable DocSearchButton (#2772)
* feat(composable-api): Step 1, new core package, pull basic state up higher
* Package cleanup, update core Readme
* Cleanup to fix weird import behavior
* Fix dependencies
* Try fixing deps again
* Track new package dist in CI
* Make sure to restore core package
* feat(composable-api): Step 2, move DocSearchButton to be composable
* Implement keyboard shortcuts props
* Set modal package version
* Render new DocSearchButton in react package
* Bump allowed bundle size for now
* feat(composable-api): Step 3, composable DocSearchModal (#2774)
* feat(composable-api): Step 1, new core package, pull basic state up higher
* Package cleanup, update core Readme
* Cleanup to fix weird import behavior
* Fix dependencies
* Try fixing deps again
* Track new package dist in CI
* Make sure to restore core package
* feat(composable-api): Step 2, move DocSearchButton to be composable
* Implement keyboard shortcuts props
* Set modal package version
* Render new DocSearchButton in react package
* Bump allowed bundle size for now
* feat(composable-api): Step 3, make DocSearchModal composable
* Clean up needed dependencies, add more bundle checks
* fix: CI
* add test cases to core package
* add test cases to modal package
* fixes after rebase
* fix: lint
* Memoize modal props to stabalize rendering
* Dont track isModalActive in props
* bump @docsearch/modal bundlesize
* remove icons dir from @docsearch-modal
* update version definition for @docsearch-react and @docsearch-modal
* fix: lint
* feat(askai): Initial ai-sdk v5 work
* Add sdk version header, code cleanup
* feat(askai): Get ai sdk v5 working
* fix: tests bundlesize
* fix: not all streaming states were showing
* fix: Show reasoning state, fix CSS issues, extract link sources for multiple text parts
* Remove important for removing text decoration
We can use the new generated client to stay up to date and upgrade packages that depends on docsearch.
---------
Co-authored-by: shortcuts <vannicattec@gmail.com>
* Allow insights options to be forwarded to Autocomplete
* Add autocomplete params to hits for insights
* Fixes TS errors after Autocomplete update
* Bump bundlesize after Autocomplete update
* Cleanup checking if insights is active
* Add documentation for sending events with DocSearch
* Move insights boolean casting to inside of getSources
* Update packages/docsearch-react/src/DocSearchModal.tsx
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
---------
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
* chore(deps): update dependency rollup-plugin-terser to v7
* increase a bit for rollup
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Samuel Bodin <1637651+bodinsamuel@users.noreply.github.com>