@knotx/plugins-canvas 0.2.13 → 0.2.15
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -84,7 +84,7 @@ class Canvas extends (_a = core.BasePlugin, _ref_dec = [decorators.register("ref
|
|
|
84
84
|
block: { type: "string", enum: ["center", "end", "nearest", "start"], description: "Vertical alignment" },
|
|
85
85
|
inline: { type: "string", enum: ["center", "end", "nearest", "start"], description: "Horizontal alignment" },
|
|
86
86
|
offset: {
|
|
87
|
-
type:
|
|
87
|
+
type: "object",
|
|
88
88
|
description: "Offset from the viewport edge, can be a number or { x: number, y: number }",
|
|
89
89
|
properties: {
|
|
90
90
|
x: { type: "number" },
|
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ class Canvas extends (_a = BasePlugin, _ref_dec = [register("ref")], _transform_
|
|
|
82
82
|
block: { type: "string", enum: ["center", "end", "nearest", "start"], description: "Vertical alignment" },
|
|
83
83
|
inline: { type: "string", enum: ["center", "end", "nearest", "start"], description: "Horizontal alignment" },
|
|
84
84
|
offset: {
|
|
85
|
-
type:
|
|
85
|
+
type: "object",
|
|
86
86
|
description: "Offset from the viewport edge, can be a number or { x: number, y: number }",
|
|
87
87
|
properties: {
|
|
88
88
|
x: { type: "number" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/plugins-canvas",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Canvas Plugin for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=17.0.0",
|
|
32
|
-
"@knotx/jsx": "0.2.
|
|
32
|
+
"@knotx/jsx": "0.2.13"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"lodash-es": "^4.17.21",
|
|
36
36
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
37
37
|
"rxjs": "^7.8.1",
|
|
38
|
-
"@knotx/core": "0.2.
|
|
39
|
-
"@knotx/decorators": "0.2.
|
|
38
|
+
"@knotx/core": "0.2.14",
|
|
39
|
+
"@knotx/decorators": "0.2.15"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/lodash-es": "^4.17.12",
|
|
43
43
|
"@types/react": "^17.0.0",
|
|
44
44
|
"react": "^17.0.0",
|
|
45
|
-
"@knotx/build-config": "0.2.
|
|
46
|
-
"@knotx/eslint-config": "0.2.
|
|
47
|
-
"@knotx/jsx": "0.2.
|
|
48
|
-
"@knotx/typescript-config": "0.2.
|
|
45
|
+
"@knotx/build-config": "0.2.13",
|
|
46
|
+
"@knotx/eslint-config": "0.2.13",
|
|
47
|
+
"@knotx/jsx": "0.2.13",
|
|
48
|
+
"@knotx/typescript-config": "0.2.13"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "unbuild",
|