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

@contrail/documents

Package Overview
Dependencies
Maintainers
6
Versions
107
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.14 to 1.0.15

114

lib/components/components.d.ts

@@ -6,7 +6,115 @@ import { Document } from '../types/document';

}
export declare const ITEM_COLOR_VIEW_TEMPLATE: Document;
export declare const ITEM_VIEW_TEMPLATE: {
elements: ({
type: string;
size: {
width: number;
height: number;
};
propertyBindings: {
url: string;
text?: undefined;
};
position?: undefined;
style?: undefined;
} | {
type: string;
position: {
x: number;
y: number;
};
size: {
height: number;
width: number;
};
style: {
font: {
size: number;
};
color?: undefined;
};
propertyBindings: {
text: string;
url?: undefined;
};
} | {
type: string;
position: {
x: number;
y: number;
};
size: {
height: number;
width: number;
};
style: {
font: {
size: number;
};
color: string;
};
propertyBindings: {
text: string;
url?: undefined;
};
})[];
};
export declare const ITEM_COLOR_VIEW_STATIC_THUMBNAIL_TEMPLATE: Document;
export declare const ITEM_COLOR_VIEW: {
export declare const ITEM_VIEW: {
slug: string;
defaultTemplate: Document;
defaultTemplate: {
elements: ({
type: string;
size: {
width: number;
height: number;
};
propertyBindings: {
url: string;
text?: undefined;
};
position?: undefined;
style?: undefined;
} | {
type: string;
position: {
x: number;
y: number;
};
size: {
height: number;
width: number;
};
style: {
font: {
size: number;
};
color?: undefined;
};
propertyBindings: {
text: string;
url?: undefined;
};
} | {
type: string;
position: {
x: number;
y: number;
};
size: {
height: number;
width: number;
};
style: {
font: {
size: number;
};
color: string;
};
propertyBindings: {
text: string;
url?: undefined;
};
})[];
};
};

@@ -13,0 +121,0 @@ export declare const ITEM_COLOR_STATIC_THUMBNAIL_VIEW: {

16

lib/components/components.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComponentRegistry = exports.ITEM_COLOR_STATIC_THUMBNAIL_VIEW = exports.ITEM_COLOR_VIEW = exports.ITEM_COLOR_VIEW_STATIC_THUMBNAIL_TEMPLATE = exports.ITEM_COLOR_VIEW_TEMPLATE = void 0;
exports.ITEM_COLOR_VIEW_TEMPLATE = {
exports.ComponentRegistry = exports.ITEM_COLOR_STATIC_THUMBNAIL_VIEW = exports.ITEM_VIEW = exports.ITEM_COLOR_VIEW_STATIC_THUMBNAIL_TEMPLATE = exports.ITEM_VIEW_TEMPLATE = void 0;
exports.ITEM_VIEW_TEMPLATE = {
elements: [{

@@ -18,3 +18,3 @@ type: "image",

},
propertyBindings: { text: 'itemColor.item.name' }
propertyBindings: { text: 'item.name' }
}, {

@@ -30,3 +30,3 @@ type: "text",

},
propertyBindings: { text: 'itemColor.name' }
propertyBindings: { text: 'item.optionName' }
}

@@ -72,5 +72,5 @@ ]

};
exports.ITEM_COLOR_VIEW = {
slug: 'item-color-view',
defaultTemplate: exports.ITEM_COLOR_VIEW_TEMPLATE,
exports.ITEM_VIEW = {
slug: 'item-view',
defaultTemplate: exports.ITEM_VIEW_TEMPLATE,
};

@@ -90,3 +90,3 @@ exports.ITEM_COLOR_STATIC_THUMBNAIL_VIEW = {

this.componentDefinitionMap = new Map();
this.componentDefinitionMap.set('item-color-view', exports.ITEM_COLOR_VIEW);
this.componentDefinitionMap.set('item-view', exports.ITEM_VIEW);
this.componentDefinitionMap.set('item-color-static-thumbnail-view', exports.ITEM_COLOR_STATIC_THUMBNAIL_VIEW);

@@ -93,0 +93,0 @@ }

export * from './components';

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

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

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

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

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

@@ -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 { LineDefinition, 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";

{
"name": "@contrail/documents",
"version": "1.0.14",
"version": "1.0.15",
"description": "Documents library for contrail platform",

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

"license": "ISC",
"files": [
"lib/**/*"
],
"devDependencies": {

@@ -21,0 +18,0 @@ "@types/jest": "^23.3.14",

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