@kent-tokyo/chematic 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3408,7 +3408,10 @@ export function smiles_to_pdbqt_isotope_projection(smiles: string, coords_json:
3408
3408
  *
3409
3409
  * `atoms` — 0-based atom indices to highlight (Uint32Array in JS).
3410
3410
  * `bonds` — 0-based bond indices to highlight (Uint32Array in JS).
3411
- * `color` — CSS color for highlights (e.g. `"#ef4444"`); empty string uses default yellow.
3411
+ * `color` — CSS color for highlights (e.g. `"#ef4444"`), applied to atom circles
3412
+ * and to the underlay drawn beneath highlighted bonds. Highlighted bonds keep
3413
+ * their double/triple/wedge depiction. Empty string uses the defaults (yellow
3414
+ * atoms, orange `#FF8C00` bonds).
3412
3415
  *
3413
3416
  * Returns a JS error on SMILES parse failure.
3414
3417
  */
package/chematic_wasm.js CHANGED
@@ -10429,7 +10429,10 @@ export function smiles_to_pdbqt_isotope_projection(smiles, coords_json, charges_
10429
10429
  *
10430
10430
  * `atoms` — 0-based atom indices to highlight (Uint32Array in JS).
10431
10431
  * `bonds` — 0-based bond indices to highlight (Uint32Array in JS).
10432
- * `color` — CSS color for highlights (e.g. `"#ef4444"`); empty string uses default yellow.
10432
+ * `color` — CSS color for highlights (e.g. `"#ef4444"`), applied to atom circles
10433
+ * and to the underlay drawn beneath highlighted bonds. Highlighted bonds keep
10434
+ * their double/triple/wedge depiction. Empty string uses the defaults (yellow
10435
+ * atoms, orange `#FF8C00` bonds).
10433
10436
  *
10434
10437
  * Returns a JS error on SMILES parse failure.
10435
10438
  * @param {string} smiles
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Kentaro Tanabe (kent-tokyo) <kent-tokyo@users.noreply.github.com>"
6
6
  ],
7
7
  "description": "WebAssembly bindings for chematic — use chematic from JavaScript/TypeScript",
8
- "version": "1.2.7",
8
+ "version": "1.2.8",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",