@paged-media/plugin-api 0.2.45-canary.0 → 0.2.47-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/object-model.d.ts +5 -1
- package/package.json +1 -1
package/dist/object-model.d.ts
CHANGED
|
@@ -113,7 +113,8 @@ export type ParsedAddress = {
|
|
|
113
113
|
* six item kinds into `item` and the page index into `pageIndex`). */
|
|
114
114
|
export type AddressKind = ParsedAddress["kind"];
|
|
115
115
|
/** ADR 132's value types, mirrored verbatim. Value shapes:
|
|
116
|
-
* bool → boolean · number → number (in `unit`)
|
|
116
|
+
* bool → boolean · number → number (in `unit`), or one of its
|
|
117
|
+
* `keywords` (a span count's `"All"`) · length → number (pt;
|
|
117
118
|
* unit strings like "3mm" coerce) · color → a swatch ref (`Color/Red`)
|
|
118
119
|
* · enum → one of `members` · text → string · ref → an address or the
|
|
119
120
|
* target's self id · bounds → [top,left,bottom,right] · transform →
|
|
@@ -128,6 +129,9 @@ export type ValueType = {
|
|
|
128
129
|
kind: "number";
|
|
129
130
|
integer?: boolean;
|
|
130
131
|
unit?: "pt" | "deg" | "percent" | "em1000" | "ppi";
|
|
132
|
+
/** Words the row also takes in place of a number (core's catalog
|
|
133
|
+
* `members` on a number row: a span count's `"All"`). */
|
|
134
|
+
keywords?: readonly string[];
|
|
131
135
|
} | {
|
|
132
136
|
kind: "length";
|
|
133
137
|
} | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paged-media/plugin-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.47-canary.0",
|
|
4
4
|
"description": "The Paged plugin contract: manifest, bundle lifecycle, the BundleHost surface, and the contribution + engine wire types. Type-only.",
|
|
5
5
|
"license": "MPL-2.0 OR LicenseRef-PMEL",
|
|
6
6
|
"type": "module",
|