Releases: dansreis/react-canvas-annotator
Releases · dansreis/react-canvas-annotator
v1.0.5-alpha
What's Changed
- Adding item onHover functionality by @saschamuellercerpro in #156
- Update issue templates by @dansreis in #172
- Removed 'RCA_POLYGON' from id by @dansreis in #179
- Added cursor list to allow custom cursors on polygons by @dansreis in #180
- Allow user to disable retrieving content from 'retrieveObjects' by @dansreis in #181
- fixing bug by @saschamuellercerpro in #246
- added-onSelectItem by @saschamuellercerpro in #249
- saschamuellercerpro:annotation-flagnote by @saschamuellercerpro in #191
- added size to numberFlag, fixed small bug in numberFlag by @saschamuellercerpro in #222
- small bugfix by @saschamuellercerpro in #225
- Bump @typescript-eslint/parser from 7.13.1 to 7.14.1 by @dependabot in #157
- Bump @typescript-eslint/eslint-plugin from 7.13.1 to 7.14.1 by @dependabot in #158
- Bump @storybook/addon-essentials from 8.1.10 to 8.1.11 by @dependabot in #159
- Bump @storybook/addon-mdx-gfm from 8.1.10 to 8.1.11 by @dependabot in #168
- Bump @storybook/test from 8.1.10 to 8.1.11 by @dependabot in #167
- Bump @storybook/addon-themes from 8.1.10 to 8.1.11 by @dependabot in #162
- Bump @storybook/addon-onboarding from 8.1.10 to 8.1.11 by @dependabot in #163
- Bump @storybook/react-vite from 8.1.10 to 8.1.11 by @dependabot in #161
- Bump @storybook/addon-links from 8.1.10 to 8.1.11 by @dependabot in #166
- Bump storybook from 8.1.10 to 8.1.11 by @dependabot in #164
- Bump vite from 5.3.1 to 5.3.2 by @dependabot in #170
- Bump @storybook/addon-interactions from 8.1.10 to 8.1.11 by @dependabot in #171
- Bump typescript from 5.5.2 to 5.5.3 by @dependabot in #185
- Bump @storybook/blocks from 8.1.11 to 8.2.5 by @dependabot in #221
- Bump @typescript-eslint/eslint-plugin from 7.14.1 to 7.17.0 by @dependabot in #224
- Bump vite from 5.3.2 to 5.3.4 by @dependabot in #215
- Bump @storybook/react from 8.1.11 to 8.2.6 by @dependabot in #228
- Bump @storybook/addon-themes from 8.1.11 to 8.2.6 by @dependabot in #227
- Bump @chromatic-com/storybook from 1.5.0 to 1.6.1 by @dependabot in #190
- Bump @storybook/addon-mdx-gfm from 8.1.11 to 8.2.6 by @dependabot in #226
- Bump @typescript-eslint/parser from 7.14.1 to 7.17.0 by @dependabot in #223
- Bump vitest from 1.6.0 to 2.0.4 by @dependabot in #220
- Bump @storybook/manager-api from 8.1.11 to 8.2.6 by @dependabot in #237
- Bump @storybook/blocks from 8.2.5 to 8.2.6 by @dependabot in #230
- Bump @storybook/addon-links from 8.1.11 to 8.2.6 by @dependabot in #236
- Bump @testing-library/jest-dom from 6.4.6 to 6.4.8 by @dependabot in #235
- Bump jsdom from 24.1.0 to 24.1.1 by @dependabot in #234
- Bump typescript from 5.5.3 to 5.5.4 by @dependabot in #232
- Bump @storybook/addon-interactions from 8.1.11 to 8.2.6 by @dependabot in #233
- Bump @storybook/theming from 8.1.11 to 8.2.6 by @dependabot in #231
- Bump @storybook/react-vite from 8.1.11 to 8.2.6 by @dependabot in #229
Full Changelog: v1.0.4-alpha...v1.0.5-alpha
v1.0.4-alpha
v1.0.3-alpha
What's Changed
- Bump eslint-plugin-react from 7.34.2 to 7.34.3 by @dependabot in #147
- color support by @saschamuellercerpro in #148
- Disable uniform scaling of objects on canvas by @dansreis in #151
- Enable dragging by default when nothing is selected by @dansreis in #150
- Polygon content on draw by @dansreis in #152
- Bump typescript from 5.4.5 to 5.5.2 by @dependabot in #153
- Remove unecessary memo by @dansreis in #154
- Retrieve polygon content image by id by @dansreis in #155
New Contributors
- @saschamuellercerpro made their first contribution in #148
Full Changelog: v1.0.2-alpha...v1.0.3-alpha
v1.0.2-alpha
What's Changed
- Added documentation to MDX file for board
- Force new deployment for validation
Full Changelog: v1.0.1-alpha...v1.0.2-alpha
v1.0.1-alpha
v1.0.0-alpha
Description
We are excited to announce the first alpha release of react-canvas-annotator! This version marks the beginning of our journey in providing a powerful and flexible annotation tool for React applications. The 1.0.0-alpha release is aimed at developers who want to explore and contribute to the early stages of the project. Please note that this is an alpha version, so expect some rough edges and incomplete features.
Features
-
Annotations on Images:
- Support for adding various types of annotations such as bounding boxes, polygons, and points.
-
Image Zoom and Drag:
- Users can zoom in and out of images and drag to navigate.
-
Polygon Annotation:
- Create and manipulate polygonal shapes for detailed annotations.
Initial API
BoardProps
- items:
CanvasObject[]- Array of canvas objects to be displayed.
- image:
{ name: string; src: string }- Object containing the image name and source URL.
- initialStatus:
{ draggingEnabled?: boolean; currentZoom?: number; scaleRatio?: number }- Initial status settings for the board.
- onResetZoom:
() => void- Callback function when the zoom is reset.
- onZoomChange:
(currentZoom: number) => void- Callback function when the zoom changes.
- onToggleDragging:
(currentStatus: boolean) => void- Callback function when the dragging status is toggled.
- onLoadedImage:
({ width, height }: { width: number; height: number }) => void- Callback function when the image is loaded.
What's Changed
- Add storybook deployment by @dansreis in #18
- Bump vite from 5.2.3 to 5.2.7 by @dependabot in #11
- Bump @types/react from 18.2.67 to 18.2.73 by @dependabot in #9
- Bump @typescript-eslint/parser from 7.3.1 to 7.4.0 by @dependabot in #5
- Bump vite-plugin-dts from 3.7.3 to 3.8.1 by @dependabot in #10
- Bump @typescript-eslint/eslint-plugin from 7.3.1 to 7.4.0 by @dependabot in #6
- Menu components by @dansreis in #19
- Annotator composite component by @dansreis in #20
- Bump @types/react from 18.2.73 to 18.2.74 by @dependabot in #25
- Bump @chromatic-com/storybook from 1.2.25 to 1.2.26 by @dependabot in #23
- Bump @typescript-eslint/parser from 7.4.0 to 7.5.0 by @dependabot in #22
- Board component by @dansreis in #26
- Delete selected objects from canvas by @dansreis in #27
- Bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 by @dependabot in #24
- Bump vite from 5.2.7 to 5.2.8 by @dependabot in #28
- Project rename by @dansreis in #29
- Bump @chromatic-com/storybook from 1.2.26 to 1.3.0 by @dependabot in #30
- Download image by @dansreis in #32
- Removed 'styled-components' and unused dependencies/code by @dansreis in #34
- Bump @storybook/addon-essentials from 8.0.5 to 8.0.6 by @dependabot in #39
- Bump @storybook/addon-mdx-gfm from 8.0.5 to 8.0.6 by @dependabot in #37
- Bump @storybook/test from 8.0.5 to 8.0.6 by @dependabot in #35
- Bump @storybook/manager-api from 8.0.5 to 8.0.6 by @dependabot in #36
- Bump @storybook/react-vite from 8.0.5 to 8.0.6 by @dependabot in #40
- Bump storybook from 8.0.5 to 8.0.6 by @dependabot in #41
- Bump @chromatic-com/storybook from 1.3.0 to 1.3.1 by @dependabot in #43
- Bump @storybook/addon-themes from 8.0.5 to 8.0.6 by @dependabot in #44
- Bump @storybook/addon-links from 8.0.5 to 8.0.6 by @dependabot in #47
- Bump typescript from 5.4.3 to 5.4.4 by @dependabot in #46
- Bump @storybook/addon-onboarding from 8.0.5 to 8.0.6 by @dependabot in #45
- Bump @storybook/addon-interactions from 8.0.5 to 8.0.6 by @dependabot in #48
- Bump @storybook/theming from 8.0.5 to 8.0.6 by @dependabot in #49
- Bump @testing-library/react from 14.2.2 to 14.3.0 by @dependabot in #51
- Drawing polygon (part 1) by @dansreis in #52
- Bump @types/react from 18.2.74 to 18.2.75 by @dependabot in #56
- Bump @typescript-eslint/parser from 7.5.0 to 7.6.0 by @dependabot in #55
- Bump @chromatic-com/storybook from 1.3.1 to 1.3.2 by @dependabot in #53
- Bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 by @dependabot in #54
- Bump @testing-library/react from 14.3.0 to 15.0.0 by @dependabot in #58
- Bump typescript from 5.4.4 to 5.4.5 by @dependabot in #57
- Drawing polygon prt2 by @dansreis in #119
- Bump @storybook/addon-mdx-gfm from 8.0.6 to 8.1.9 by @dependabot in #116
- Bump @storybook/addon-themes from 8.0.6 to 8.1.9 by @dependabot in #118
- Bump @storybook/theming from 8.0.6 to 8.1.9 by @dependabot in #114
- Bump @storybook/blocks from 8.0.6 to 8.1.10 by @dependabot in #121
- Bump @storybook/addon-onboarding from 8.0.6 to 8.1.10 by @dependabot in #120
- Bump react and @types/react by @dependabot in #122
- Bump @storybook/addon-themes from 8.1.9 to 8.1.10 by @dependabot in #123
- Bump @storybook/addon-links from 8.0.6 to 8.1.10 by @dependabot in #124
- Bump jsdom from 24.0.0 to 24.1.0 by @dependabot in #125
- Bump @typescript-eslint/parser from 7.6.0 to 7.13.1 by @dependabot in #126
- Bump vite from 5.2.8 to 5.3.1 by @dependabot in #127
- Bump vitest from 1.4.0 to 1.6.0 by @dependabot in #128
- Bump @testing-library/jest-dom from 6.4.2 to 6.4.6 by @dependabot in #129
- Bump @storybook/test from 8.0.6 to 8.1.10 by @dependabot in #130
- Bump @storybook/manager-api from 8.0.6 to 8.1.10 by @dependabot in #131
- Bump eslint-plugin-react from 7.34.1 to 7.34.2 by @dependabot in #134
- Bump @storybook/addon-interactions from 8.0.6 to 8.1.10 by @dependabot in #132
- Bump prettier from 3.2.5 to 3.3.2 by @dependabot in #135
- Bump @storybook/addon-mdx-gfm from 8.1.9 to 8.1.10 by @dependabot in #133
- Bump @storybook/addon-essentials from 8.0.6 to 8.1.10 by @dependabot in #136
- Bump vite-plugin-dts from 3.8.1 to 3.9.1 by @dependabot in #137
- Bump @storybook/react-vite from 8.0.6 to 8.1.10 by @dependabot in #138
- Bump uuid from 9.0.1 to 10.0.0 by @dependabot in #143
- Bump lint-staged from 15.2.2 to 15.2.7 by @dependabot in #142
- Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.7 by @dependabot in #139
- Bump @typescript-eslint/eslint-plugin from 7.6.0 to 7.13.1 by @dependabot in #140
- Bump storybook from 8.0.6 to 8.1.10 by @dependabot in #141
- Bump @testing-library/react from 15.0.0 to...