7.0.2 (2024-10-15)
7.0.1 (2024-10-14)
7.0.0 (2024-10-09)
- migrate to TypeScript
- improve native Node.js ESM support (95a6284)
- migrate to TypeScript (18d0105)
6.1.0 (2023-08-04)
- add labelColor (7857cdd)
6.0.2 (2023-08-04)
- enforce labelFontSize as a number (93f35ff)
6.0.1 (2023-08-04)
- label was cut (b50fa1c)
6.0.0 (2023-08-03)
- remove the level when redering a molecule
- allow the renderer to have a label object property (e27edd9)
- allow the renderer to have a label object property (#24) (e27edd9)
- remove the <div> level when redering a molecule (e27edd9)
- Use a SVG as default error renderer (e27edd9)
5.0.1 (2023-06-13)
- correct example in the readme (d3746f2)
5.0.0 (2022-08-15)
- remove propTypes and defaultProps
- update OpenChemLib to v8.0.0
- React >=18 is now mandatory.
- The automated ids generated by the SvgRenderer now have a different format.
- remove propTypes and defaultProps (7b15f4d)
4.4.0 (2022-07-01)
- add initialIDCode props and give idCode in onChange callback (2dba9b4)
4.3.5 (2022-03-11)
- make StructureEditor work inside a shadow root (2a12c53)
4.3.4 (2022-02-19)
- do not try to setFragment if editor is not instanciated (a686836)
4.3.3 (2021-03-23)
- use JS extension (9771140)
4.3.2 (2021-03-23)
- add commonjs build for SSR (955d249)
4.3.1 (2021-02-26)
4.3.0 (2020-09-09)
- expose base components for rendering with custom OCL (66e6ee4)
4.2.1 (2020-06-10)
- add missing main package field (36bdf80)
4.2.0 (2020-05-10)
4.1.0 (2020-05-07)
- SVG: catch syntax errors and add support for custom error component (4c13201)
4.0.4 (2020-05-07)
- click event listener (88fde99)
4.0.3 (2019-11-28)
- correct atom and bond highlighting (caf1278)
4.0.2 (2019-05-05)
- types: correct type of IdcodeSvgRenderer props (218b3b8)
4.0.1 (2019-05-05)
- types: export types for default import (6a2bebe)
4.0.0 (2019-05-05)
- update OCL to 7.0.0 (d990ebe)
- StructureEditor: change arguments passed to onChange (42e2a76)
- StructureEditor: Arguments passed to the
onChange
callback ofStructureEditor
were change. It will now receive two arguments: a molfile V3 and a Molecule instance. - Highlight ids are now numbers instead of strings.
3.1.1 (2019-03-28)
- better structure editor with hooks (c1278e4)
3.1.0 (2019-03-28)
- add support for bond highlighting (a48732e)
- highlight: add onAtomEnter and onAtomLeave (e31d70d)
- add support for controlled highlight (77a0c57)
3.0.2 (2019-03-22)
3.0.1 (2019-01-27)
- molfile prop doesn't have to be required (538e51f)
3.0.0 (2019-01-27)
- update OCL to v6 (5a0cdd5)
- The openchemlib peer dependency is now 6.0.0.
2.0.1 (2019-01-27)
- use .mjs to tell entrypoints are modules (a468b8b)
2.0.0 (2019-01-25)
- editor: allow to pass a custom id (e9f6639)
- export three versions of the library and make OCL prop obsolete (0cd6a68)
1.0.1 (2018-09-01)
1.0.0 (2018-01-09)
0.1.1 (2017-11-01)
0.1.0 (2017-02-08)
- don't fallback to empty coordinates (695936f)
- require OCL in the props (8c671da)