@paged-media/plugin-sdk 0.2.52-canary.0 → 0.2.54-canary.0
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.js +9 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5273,7 +5273,7 @@ var propertySchemas = [
|
|
|
5273
5273
|
"Normal",
|
|
5274
5274
|
"AllCaps",
|
|
5275
5275
|
"SmallCaps",
|
|
5276
|
-
"
|
|
5276
|
+
"CapToSmallCap"
|
|
5277
5277
|
],
|
|
5278
5278
|
open: true
|
|
5279
5279
|
},
|
|
@@ -8093,7 +8093,7 @@ var propertySchemas = [
|
|
|
8093
8093
|
"Normal",
|
|
8094
8094
|
"AllCaps",
|
|
8095
8095
|
"SmallCaps",
|
|
8096
|
-
"
|
|
8096
|
+
"CapToSmallCap"
|
|
8097
8097
|
],
|
|
8098
8098
|
open: true
|
|
8099
8099
|
},
|
|
@@ -8462,7 +8462,7 @@ var propertySchemas = [
|
|
|
8462
8462
|
"Normal",
|
|
8463
8463
|
"AllCaps",
|
|
8464
8464
|
"SmallCaps",
|
|
8465
|
-
"
|
|
8465
|
+
"CapToSmallCap"
|
|
8466
8466
|
],
|
|
8467
8467
|
open: true
|
|
8468
8468
|
},
|
|
@@ -15490,6 +15490,12 @@ function createBundleHost(getEditor, manifest, options) {
|
|
|
15490
15490
|
const editor = getEditor();
|
|
15491
15491
|
const applied = await editor.client.setElementSelection(ids, mode);
|
|
15492
15492
|
editor.selection.setElementSelection(applied);
|
|
15493
|
+
try {
|
|
15494
|
+
editor.selection.setElementGeometry(
|
|
15495
|
+
await editor.client.elementGeometry(applied)
|
|
15496
|
+
);
|
|
15497
|
+
} catch {
|
|
15498
|
+
}
|
|
15493
15499
|
return applied;
|
|
15494
15500
|
},
|
|
15495
15501
|
onDidChange(listener) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paged-media/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.54-canary.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@paged-media/plugin-api": "0.2.
|
|
14
|
+
"@paged-media/plugin-api": "0.2.54-canary.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": "^18.3.0"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@paged-media/canvas-wasm": "0.71.
|
|
25
|
+
"@paged-media/canvas-wasm": "0.71.8",
|
|
26
26
|
"@types/node": "20.19.39",
|
|
27
27
|
"@types/react": "^18.3.31",
|
|
28
28
|
"fast-check": "^4.10.2",
|