Skip to content

Commit

Permalink
Fix broken dropdowns, prepare v0.5.1 (#139)
Browse files Browse the repository at this point in the history
* downgrade @headlessui/react to fix listbox bugs

Fixes #138.

* build sourcemaps even for prod, it's OSS after all
  • Loading branch information
bgentry authored Sep 1, 2024
1 parent baaa2e5 commit 3fc0192
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.1] - 2024-09-01

### Fixed

- Downgrade `@headlessui/react` version to v2.1.1 to fix issues with listbox menus (refresh settings and theme selector). [PR #139](https://github.com/riverqueue/riverui/pull/139).

## [0.5.0] - 2024-08-28

### Changed
Expand Down
27 changes: 15 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"dependencies": {
"@dagrejs/dagre": "^1.1.4",
"@headlessui/react": "^2.1.3",
"@headlessui/react": "2.1.1",
"@headlessui/tailwindcss": "^0.2.1",
"@heroicons/react": "^2.1.5",
"@tailwindcss/typography": "^0.5.14",
Expand Down
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ export default defineConfig({
manualChunks: {
// use vite-bundle-visualizer to find good candidates for manual chunks:
dagrejs: ["@dagrejs/dagre"],
headlessui: ["@headlessui/react"],
"react-dom": ["react-dom"],
reactflow: ["reactflow"],
},
},
},
sourcemap: true,
target: "esnext",
},
plugins: [react(), TanStackRouterVite(), tsconfigPaths()],
Expand Down

0 comments on commit 3fc0192

Please sign in to comment.