orcasvn-react-diagrams 0.1.10 → 0.1.11

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.
package/dist/cjs/index.js CHANGED
@@ -812,6 +812,14 @@ var CustomPortFromJSXElement = /** @class */ (function (_super) {
812
812
  return CustomPortFromJSXElement;
813
813
  }(Port$1));
814
814
 
815
+ var CustomPortFromShape = /** @class */ (function (_super) {
816
+ __extends(CustomPortFromShape, _super);
817
+ function CustomPortFromShape(x, y, width, height, shape, label) {
818
+ return _super.call(this, x, y, width, height, label, shape) || this;
819
+ }
820
+ return CustomPortFromShape;
821
+ }(Port$1));
822
+
815
823
  var Circle = React$1.forwardRef(function (props, ref) {
816
824
  var s = { height: 100, width: 100 };
817
825
  if (props.r) {
@@ -10016,6 +10024,7 @@ function Editor(_a) {
10016
10024
  exports.CircleRC = Circle;
10017
10025
  exports.CrescentRC = Crescent;
10018
10026
  exports.CustomPortFromJSXElement = CustomPortFromJSXElement;
10027
+ exports.CustomPortFromShape = CustomPortFromShape;
10019
10028
  exports.CustomShapeRC = CustomShape;
10020
10029
  exports.EditorContext = EditorContext;
10021
10030
  exports.Element = Element$1;
@@ -4,4 +4,5 @@ import ElementLink from './ElementLink';
4
4
  import Text from './Text';
5
5
  export * from './EditorContext';
6
6
  export * from './CustomPortFromJSXElement';
7
+ export * from './CustomPortFromShape';
7
8
  export { Element, Port, ElementLink, Text };
package/dist/esm/index.js CHANGED
@@ -808,6 +808,14 @@ var CustomPortFromJSXElement = /** @class */ (function (_super) {
808
808
  return CustomPortFromJSXElement;
809
809
  }(Port$1));
810
810
 
811
+ var CustomPortFromShape = /** @class */ (function (_super) {
812
+ __extends(CustomPortFromShape, _super);
813
+ function CustomPortFromShape(x, y, width, height, shape, label) {
814
+ return _super.call(this, x, y, width, height, label, shape) || this;
815
+ }
816
+ return CustomPortFromShape;
817
+ }(Port$1));
818
+
811
819
  var Circle = forwardRef(function (props, ref) {
812
820
  var s = { height: 100, width: 100 };
813
821
  if (props.r) {
@@ -10009,5 +10017,5 @@ function Editor(_a) {
10009
10017
  React$1.createElement(Paper, { size: { width: 3000, height: 3000 }, elements: editorContext.elements, links: editorContext.links, texts: editorContext.texts, onPaperClicked: editorContext.onPaperClicked, onPortMoved: editorContext.onPortMoved, onElementMoved: editorContext.onElementMoved, onElementResized: editorContext.onElementResized, onLinkValidation: editorContext.validateLink, onCreatingLink: editorContext.onCreatingLink, onCreatingPortByLinking: editorContext.onCreatingPortByLinking })));
10010
10018
  }
10011
10019
 
10012
- export { Circle as CircleRC, Crescent as CrescentRC, CustomPortFromJSXElement, CustomShape as CustomShapeRC, EditorContext, Element$1 as Element, ElementLink$1 as ElementLink, ElementLink as ElementLinkRC, Port$1 as Port, Port as PortRC, PositioningAnchor, Rectangle as RectangleRC, RectangularFrame as RectangularFrameRC, ResizingDirection, ShapeWrapper as ShapeWrapperRC, SubObjectDirection, Text$2 as Text, TextAlign, Text$1 as TextRC, Editor as default };
10020
+ export { Circle as CircleRC, Crescent as CrescentRC, CustomPortFromJSXElement, CustomPortFromShape, CustomShape as CustomShapeRC, EditorContext, Element$1 as Element, ElementLink$1 as ElementLink, ElementLink as ElementLinkRC, Port$1 as Port, Port as PortRC, PositioningAnchor, Rectangle as RectangleRC, RectangularFrame as RectangularFrameRC, ResizingDirection, ShapeWrapper as ShapeWrapperRC, SubObjectDirection, Text$2 as Text, TextAlign, Text$1 as TextRC, Editor as default };
10013
10021
  //# sourceMappingURL=index.js.map