Skip to content

feat(composable-api): Step 1, new core package, pull basic state up higer#2771

Merged
8bittitan merged 7 commits intofeat/composable-apifrom
feat/dex-2202-composable-api
Sep 24, 2025
Merged

feat(composable-api): Step 1, new core package, pull basic state up higer#2771
8bittitan merged 7 commits intofeat/composable-apifrom
feat/dex-2202-composable-api

Conversation

@8bittitan
Copy link
Copy Markdown
Contributor

What

  • New @docsearch/core package
  • Pull basic rendering state up higher into the @docsearch/core package
  • Allow for backwards compatibility so far

@8bittitan 8bittitan merged commit 5992b9f into feat/composable-api Sep 24, 2025
6 checks passed
@8bittitan 8bittitan deleted the feat/dex-2202-composable-api branch September 24, 2025 13:13
8bittitan added a commit that referenced this pull request Oct 20, 2025
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants