@rnacanvas/draw 2.22.0 → 2.23.0

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.
@@ -0,0 +1,22 @@
1
+ import { DrawingElement } from './ElementsDrawing';
2
+ /**
3
+ * A bond between two bases.
4
+ */
5
+ export interface Bond extends DrawingElement {
6
+ base1: DrawingElement;
7
+ base2: DrawingElement;
8
+ remove(): void;
9
+ }
10
+ /**
11
+ * A drawing of bonds.
12
+ */
13
+ export declare class BondsDrawing<T extends Bond> {
14
+ private svgDoc;
15
+ bonds: T[];
16
+ /**
17
+ * This class wraps an elements drawing.
18
+ */
19
+ private elementsDrawing;
20
+ constructor(svgDoc: SVGSVGElement, bonds: T[]);
21
+ }
22
+ //# sourceMappingURL=BondsDrawing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BondsDrawing.d.ts","sourceRoot":"","sources":["../src/BondsDrawing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,IAAK,SAAQ,cAAc;IAC1C,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,cAAc,CAAC;IAEtB,MAAM,IAAI,IAAI,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,YAAY,CAAC,CAAC,SAAS,IAAI;IAM1B,OAAO,CAAC,MAAM;IAAwB,KAAK,EAAE,CAAC,EAAE;IAL5D;;OAEG;IACH,OAAO,CAAC,eAAe,CAAqB;gBAExB,MAAM,EAAE,aAAa,EAAS,KAAK,EAAE,CAAC,EAAE;CAa7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnacanvas/draw",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "Make 2D nucleic acid structure drawings",
5
5
  "repository": {
6
6
  "type": "git",