Skip to content

Commit

Permalink
chore: setup release for v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshxfi committed Sep 10, 2024
1 parent eac8f69 commit b268b21
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions packages/react-highlight-popover/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @omsimos/react-highlight-popover

## 1.1.0

### Minor Changes

- # v1.1.0

### New Features 🚀

- **Enhanced Hook Functionality**: The `useHighlightPopover` hook now exposes `setCurrentSelection`, allowing for more flexible control over the selected text.
- **Improved Performance**: Implemented `requestAnimationFrame()` for handling text selection, resulting in smoother updates and better overall performance.

### Improvements 🛠️

- **Better Documentation**: Added JSDoc comments throughout the codebase, improving developer experience with better type hints and function descriptions.
- **Accessibility Enhancements**: Added ARIA attributes to improve screen reader compatibility and overall accessibility.
- **Optimized Rendering**: Memoized the popover style object to reduce unnecessary re-renders and improve performance.

### Under The Hood 🔧

- Various code optimizations and refactoring for better maintainability and performance.

## Upgrade Instructions

To upgrade to v1.1.0, run:

```bash
npm install @omsimos/react-highlight-popover@latest
```

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-highlight-popover/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@omsimos/react-highlight-popover",
"version": "1.0.0",
"version": "1.1.0",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit b268b21

Please sign in to comment.