Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contrail/documents

Package Overview
Dependencies
Maintainers
5
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/documents - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

0

lib/components/components.d.ts

@@ -0,0 +0,0 @@ import { Document } from '../types/document';

@@ -0,0 +0,0 @@ "use strict";

export * from './components';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Action } from '@contrail/actions';

@@ -0,0 +0,0 @@ "use strict";

1

lib/document-element-factory.d.ts

@@ -6,4 +6,5 @@ import { DocumentElement } from './types/document-element';

static createShapeElement(type: string, options?: DocumentElement): DocumentElement;
static createElement(type: string, options?: DocumentElement): DocumentElement;
static createImageElement(options: DocumentElement): DocumentElement;
static createComponent(componentType: string, model: any, modelBindings: any, options?: DocumentElement): DocumentElement;
}

@@ -31,2 +31,7 @@ "use strict";

}
static createElement(type, options = {}) {
let element = this.initNewElement(type);
element = Object.assign(element, options);
return element;
}
static createImageElement(options) {

@@ -33,0 +38,0 @@ let element = this.initNewElement('image');

@@ -0,0 +0,0 @@ import { DocumentElement } from './types/document-element';

@@ -0,0 +0,0 @@ export * from './types';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface TextStyleDefinition {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface DataObject {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { DocumentElement } from './document-element';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PositionDefinition, SizeDefinition } from "./common";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { DocumentElement } from './document-element';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { PositionDefinition } from './common';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { SizeDefinition, StyleDefinition } from "./common";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export interface ScaleTransformation {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export * from './common';

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"name": "@contrail/documents",
"version": "1.0.12",
"version": "1.0.13",
"description": "Documents library for contrail platform",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc