Add bluetooth, dropzone & history hooks #77
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates and new features across multiple files, primarily focusing on adding new hooks and enhancing the functionality of existing components. The most important changes include the addition of new hooks for Bluetooth, drag-and-drop file uploads, and session storage management, as well as updates to package dependencies and configuration files.
New Hooks and Components:
packages/ui/cuicui/hooks/use-bluetooth
: Added a newuseBluetooth
hook to manage Bluetooth connections, including support for requesting devices and handling connection states. [1] [2] [3] [4]packages/ui/cuicui/hooks/use-drop-zone
: Added a newuseDropZone
hook to manage drag-and-drop file uploads, including event listeners for drag-and-drop events and handling file drops. [1] [2] [3] [4]packages/ui/cuicui/hooks/use-draggable
: Added placeholder files for a newuseDraggable
hook, which is marked as "coming soon." [1] [2] [3] [4]Package and Configuration Updates:
apps/website/package.json
: Added@types/web-bluetooth
to the list of dependencies.apps/website/next.config.mjs
: Enabled thereactCompiler
experimental feature.apps/website/src/lib/generated-package-check-list-to-install.ts
: Added@types/web-bluetooth
to the package checklist.Changelog and Metadata Updates:
apps/website/src/changelogs/2025-02-08.mdx
: Added a new changelog entry detailing the addition of new hooks for session storage, memory, history, Bluetooth, and drag-and-drop file uploads.apps/website/src/changelogs/last-changelog-date.ts
: Updated the last changelog date to "2025-02-07."