@atjson/offset-annotations
Advanced tools
Comparing version
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.45.3](https://github.com/CondeNast/atjson/compare/@atjson/offset-annotations@0.45.2...@atjson/offset-annotations@0.45.3) (2022-10-06) | ||
**Note:** Version bump only for package @atjson/offset-annotations | ||
## [0.45.2](https://github.com/CondeNast/atjson/compare/@atjson/offset-annotations@0.45.1...@atjson/offset-annotations@0.45.2) (2022-09-07) | ||
@@ -8,0 +12,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
export declare class IframeEmbed extends ObjectAnnotation<{ | ||
import { BlockAnnotation } from "@atjson/document"; | ||
export declare class IframeEmbed extends BlockAnnotation<{ | ||
url: string; | ||
@@ -4,0 +4,0 @@ width?: string; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const document_1 = require("@atjson/document"); | ||
class IframeEmbed extends document_1.ObjectAnnotation { | ||
class IframeEmbed extends document_1.BlockAnnotation { | ||
get url() { | ||
@@ -19,2 +19,2 @@ try { | ||
IframeEmbed.vendorPrefix = "offset"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWVtYmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lmcmFtZS1lbWJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQ0FBb0Q7QUFFcEQsTUFBYSxXQUFZLFNBQVEsMkJBYy9CO0lBSUEsSUFBSSxHQUFHO1FBQ0wsSUFBSTtZQUNGLE9BQU8sSUFBSSxHQUFHLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQztTQUNyQztRQUFDLE9BQU8sQ0FBQyxFQUFFO1lBQ1YsT0FBTyxJQUFJLENBQUM7U0FDYjtJQUNILENBQUM7O0FBeEJILGtDQXlCQztBQVZRLGdCQUFJLEdBQUcsY0FBYyxDQUFDO0FBQ3RCLHdCQUFZLEdBQUcsUUFBUSxDQUFDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWVtYmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2lmcmFtZS1lbWJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQ0FBbUQ7QUFFbkQsTUFBYSxXQUFZLFNBQVEsMEJBYy9CO0lBSUEsSUFBSSxHQUFHO1FBQ0wsSUFBSTtZQUNGLE9BQU8sSUFBSSxHQUFHLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQztTQUNyQztRQUFDLE9BQU8sQ0FBQyxFQUFFO1lBQ1YsT0FBTyxJQUFJLENBQUM7U0FDYjtJQUNILENBQUM7O0FBeEJILGtDQXlCQztBQVZRLGdCQUFJLEdBQUcsY0FBYyxDQUFDO0FBQ3RCLHdCQUFZLEdBQUcsUUFBUSxDQUFDIn0= |
@@ -1,2 +0,2 @@ | ||
import { InlineAnnotation } from "@atjson/document"; | ||
import { EdgeBehaviour, InlineAnnotation } from "@atjson/document"; | ||
export declare class Link extends InlineAnnotation<{ | ||
@@ -12,3 +12,7 @@ url: string; | ||
static type: string; | ||
static edgeBehaviour: { | ||
leading: EdgeBehaviour; | ||
trailing: EdgeBehaviour; | ||
}; | ||
} | ||
//# sourceMappingURL=link.d.ts.map |
@@ -10,2 +10,6 @@ "use strict"; | ||
Link.type = "link"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy9saW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLCtDQUFvRDtBQUVwRCxNQUFhLElBQUssU0FBUSwyQkFPeEI7O0FBUEYsb0JBVUM7QUFGUSxpQkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixTQUFJLEdBQUcsTUFBTSxDQUFDIn0= | ||
Link.edgeBehaviour = { | ||
leading: document_1.EdgeBehaviour.preserve, | ||
trailing: document_1.EdgeBehaviour.preserve, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy9saW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLCtDQUFtRTtBQUVuRSxNQUFhLElBQUssU0FBUSwyQkFPeEI7O0FBUEYsb0JBY0M7QUFOUSxpQkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixTQUFJLEdBQUcsTUFBTSxDQUFDO0FBQ2Qsa0JBQWEsR0FBRztJQUNyQixPQUFPLEVBQUUsd0JBQWEsQ0FBQyxRQUFRO0lBQy9CLFFBQVEsRUFBRSx3QkFBYSxDQUFDLFFBQVE7Q0FDakMsQ0FBQyJ9 |
@@ -1,4 +0,4 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
import { BlockAnnotation } from "@atjson/document"; | ||
import { getClosestAspectRatio, VideoURLs } from "../utils"; | ||
export declare class VideoEmbed extends ObjectAnnotation<{ | ||
export declare class VideoEmbed extends BlockAnnotation<{ | ||
url: string; | ||
@@ -5,0 +5,0 @@ provider: VideoURLs.Provider; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const document_1 = require("@atjson/document"); | ||
class VideoEmbed extends document_1.ObjectAnnotation { | ||
class VideoEmbed extends document_1.BlockAnnotation { | ||
} | ||
@@ -11,2 +11,2 @@ exports.VideoEmbed = VideoEmbed; | ||
VideoEmbed.vendorPrefix = "offset"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8tZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvdmlkZW8tZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsK0NBQW9EO0FBR3BELE1BQWEsVUFBVyxTQUFRLDJCQW1DOUI7O0FBbkNGLGdDQXNDQztBQUZRLGVBQUksR0FBRyxhQUFhLENBQUM7QUFDckIsdUJBQVksR0FBRyxRQUFRLENBQUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8tZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvdmlkZW8tZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsK0NBQW1EO0FBR25ELE1BQWEsVUFBVyxTQUFRLDBCQW1DOUI7O0FBbkNGLGdDQXNDQztBQUZRLGVBQUksR0FBRyxhQUFhLENBQUM7QUFDckIsdUJBQVksR0FBRyxRQUFRLENBQUMifQ== |
@@ -1,3 +0,3 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
export declare class IframeEmbed extends ObjectAnnotation<{ | ||
import { BlockAnnotation } from "@atjson/document"; | ||
export declare class IframeEmbed extends BlockAnnotation<{ | ||
url: string; | ||
@@ -4,0 +4,0 @@ width?: string; |
@@ -1,3 +0,3 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
export class IframeEmbed extends ObjectAnnotation { | ||
import { BlockAnnotation } from "@atjson/document"; | ||
export class IframeEmbed extends BlockAnnotation { | ||
get url() { | ||
@@ -14,2 +14,2 @@ try { | ||
IframeEmbed.vendorPrefix = "offset"; | ||
//# sourceMappingURL=data:application/json;base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QUcsY0FBYyxDQUFDO0FBQ3RCLHdCQUFZLEdBQUcsUUFBUSxDQUFDIn0= |
@@ -1,2 +0,2 @@ | ||
import { InlineAnnotation } from "@atjson/document"; | ||
import { EdgeBehaviour, InlineAnnotation } from "@atjson/document"; | ||
export declare class Link extends InlineAnnotation<{ | ||
@@ -12,3 +12,7 @@ url: string; | ||
static type: string; | ||
static edgeBehaviour: { | ||
leading: EdgeBehaviour; | ||
trailing: EdgeBehaviour; | ||
}; | ||
} | ||
//# sourceMappingURL=link.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { InlineAnnotation } from "@atjson/document"; | ||
import { EdgeBehaviour, InlineAnnotation } from "@atjson/document"; | ||
export class Link extends InlineAnnotation { | ||
@@ -6,2 +6,6 @@ } | ||
Link.type = "link"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy9saW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRXBELE1BQU0sT0FBTyxJQUFLLFNBQVEsZ0JBT3hCOztBQUNPLGlCQUFZLEdBQUcsUUFBUSxDQUFDO0FBQ3hCLFNBQUksR0FBRyxNQUFNLENBQUMifQ== | ||
Link.edgeBehaviour = { | ||
leading: EdgeBehaviour.preserve, | ||
trailing: EdgeBehaviour.preserve, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hbm5vdGF0aW9ucy9saW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVuRSxNQUFNLE9BQU8sSUFBSyxTQUFRLGdCQU94Qjs7QUFDTyxpQkFBWSxHQUFHLFFBQVEsQ0FBQztBQUN4QixTQUFJLEdBQUcsTUFBTSxDQUFDO0FBQ2Qsa0JBQWEsR0FBRztJQUNyQixPQUFPLEVBQUUsYUFBYSxDQUFDLFFBQVE7SUFDL0IsUUFBUSxFQUFFLGFBQWEsQ0FBQyxRQUFRO0NBQ2pDLENBQUMifQ== |
@@ -1,4 +0,4 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
import { BlockAnnotation } from "@atjson/document"; | ||
import { getClosestAspectRatio, VideoURLs } from "../utils"; | ||
export declare class VideoEmbed extends ObjectAnnotation<{ | ||
export declare class VideoEmbed extends BlockAnnotation<{ | ||
url: string; | ||
@@ -5,0 +5,0 @@ provider: VideoURLs.Provider; |
@@ -1,6 +0,6 @@ | ||
import { ObjectAnnotation } from "@atjson/document"; | ||
export class VideoEmbed extends ObjectAnnotation { | ||
import { BlockAnnotation } from "@atjson/document"; | ||
export class VideoEmbed extends BlockAnnotation { | ||
} | ||
VideoEmbed.type = "video-embed"; | ||
VideoEmbed.vendorPrefix = "offset"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8tZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvdmlkZW8tZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFHcEQsTUFBTSxPQUFPLFVBQVcsU0FBUSxnQkFtQzlCOztBQUNPLGVBQUksR0FBRyxhQUFhLENBQUM7QUFDckIsdUJBQVksR0FBRyxRQUFRLENBQUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8tZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvdmlkZW8tZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBR25ELE1BQU0sT0FBTyxVQUFXLFNBQVEsZUFtQzlCOztBQUNPLGVBQUksR0FBRyxhQUFhLENBQUM7QUFDckIsdUJBQVksR0FBRyxRQUFRLENBQUMifQ== |
{ | ||
"name": "@atjson/offset-annotations", | ||
"version": "0.45.2", | ||
"version": "0.45.3", | ||
"description": "Annotations used for stories", | ||
@@ -13,3 +13,3 @@ "main": "dist/commonjs/index.js", | ||
"devDependencies": { | ||
"@atjson/document": "0.26.1" | ||
"@atjson/document": "0.27.0" | ||
}, | ||
@@ -19,3 +19,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "93cde389ebe325fa11707f000e18ba7d35fac6d2" | ||
"gitHead": "dafe3529a13a5bff3a081fdd5daf3cf2df8797cb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
328780
0.57%2760
0.58%