New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contrail/document-generation

Package Overview
Dependencies
Maintainers
0
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/document-generation - npm Package Compare versions

Comparing version 2.0.35 to 2.0.36

0

lib/board-document-generator.d.ts

@@ -0,0 +0,0 @@ import { DocumentElement, PositionDefinition } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DocumentElement } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DocumentElement, PositionDefinition, SizeDefinition } from '@contrail/documents';

3

lib/components/component-grid-generator.js

@@ -32,2 +32,3 @@ "use strict";

const componentPadding = gridTemplate.componentPadding || 20;
const maxComponentHeight = (idealSize.height - template.gridDimensions.rows * componentPadding * 2) / template.gridDimensions.rows;
componentPosition.x += componentPadding;

@@ -48,3 +49,3 @@ componentPosition.y += componentPadding;

}
componentPosition.y += componentSize.height + componentPadding * 2;
componentPosition.y += Math.min(componentSize.height, maxComponentHeight) + componentPadding * 2;
componentPosition.x = startingPosition.x + componentPadding;

@@ -51,0 +52,0 @@ }

@@ -0,0 +0,0 @@ import { DocumentElement, SizeDefinition } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DocumentElement } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DocumentElement, PositionDefinition, SizeDefinition } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DocumentElement, PositionDefinition, SizeDefinition, StyleDefinition } from '@contrail/documents';

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

export * from './frame';
export * from './frame-generator';

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

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

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

@@ -0,0 +0,0 @@ import { DocumentElement, PositionDefinition, SizeDefinition } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { DataGroupStructure } from '@contrail/data-grouping';

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

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

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

@@ -0,0 +0,0 @@ import { DocumentGenerationOptions } from './interfaces';

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

@@ -0,0 +0,0 @@ import { DataGroupStructure } from '@contrail/data-grouping';

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

@@ -0,0 +0,0 @@ import { DocumentPropertyDefinition } from '../interfaces';

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

@@ -0,0 +0,0 @@ import { DocumentElement, StyleDefinition } from '@contrail/documents';

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

@@ -0,0 +0,0 @@ import { PositionDefinition } from '@contrail/documents';

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

export * from './document-text-element-util';
export * from './document-property-util';

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

@@ -0,0 +0,0 @@ import { DocumentPropertyDefinition } from '../interfaces';

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

{
"name": "@contrail/document-generation",
"version": "2.0.35",
"version": "2.0.36",
"description": "Utilities for automatic generation of documents.",

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

Library for use with @contrail/documents that allows for the quick/automation generation of
documents based on templates and layout options.

Sorry, the diff of this file is too big to display

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