@openpresentation/opf 0.25.0 → 0.26.0-rc.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/README.md +1 -1
- package/dist/browser.js +1 -1
- package/dist/{chunk-YJNFNRZS.js → chunk-NJRFCM4H.js} +1 -1
- package/dist/{chunk-F7PLNWHQ.js → chunk-PJSPHHRK.js} +1 -1
- package/dist/{conversion-I67NMZEW.js → conversion-AJEJJHLO.js} +2 -2
- package/dist/{conversion-BOQWy6ex.d.ts → conversion-Dh8Q4RiX.d.ts} +2 -2
- package/dist/docs.js +14 -20
- package/dist/font-policy.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/node-engine.d.ts +2 -2
- package/dist/node-engine.js +3 -3
- package/dist/repo-readme.js +1 -1
- package/dist/spec/README.md +1 -1
- package/dist/spec/reference/font-policy.json +1 -1
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ export function LayoutThumbnail({ slug }: { slug: string }) {
|
|
|
126
126
|
}
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
The preview source lives in [
|
|
129
|
+
The preview source lives in [`packages/gallery`](../gallery) of this repository, which the checks read.
|
|
130
130
|
|
|
131
131
|
### Example decks
|
|
132
132
|
|
package/dist/browser.js
CHANGED
|
@@ -15,7 +15,7 @@ import './chunk-LU6XM5JQ.js';
|
|
|
15
15
|
export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogSchemaNames, findValidationRule, resolveSlideContext, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-P7S3ORB4.js';
|
|
16
16
|
export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartNumber, coerceVariableValue, datasetDiagnostics, formatDataNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isTemplate, isXYChartType, listBuiltinVariables, listVariables, normalizeLanguageFamily, numberFormatError, parseReference, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-XRMV2GMB.js';
|
|
17
17
|
export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-F4HFDP6I.js';
|
|
18
|
-
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-
|
|
18
|
+
export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-PJSPHHRK.js';
|
|
19
19
|
|
|
20
20
|
// src/browser.ts
|
|
21
21
|
var nodeOnly = (name, message) => new OPFApiError(`\`${name}\` ${message}`, "node-only", { details: { function: name, build: "browser" } });
|
|
@@ -117,7 +117,7 @@ function localAssetProblems(deck, root) {
|
|
|
117
117
|
}
|
|
118
118
|
var RENDER_PACKAGE = "@openpresentation/opf-render";
|
|
119
119
|
var PPTX_PACKAGE = "@openpresentation/opf-pptx";
|
|
120
|
-
var PEER_RANGES = { [RENDER_PACKAGE]: "^0.
|
|
120
|
+
var PEER_RANGES = { [RENDER_PACKAGE]: "^0.26.0-rc.0", [PPTX_PACKAGE]: "^0.26.0-rc.0" };
|
|
121
121
|
var PPTX_TEXT_OPTIONS_FROM = "0.22.0";
|
|
122
122
|
var numbers = (version) => version.replace(/[-+].*$/, "").split(".").map((part) => Number.parseInt(part, 10) || 0);
|
|
123
123
|
function atLeast(version, minimum) {
|
|
@@ -3,7 +3,7 @@ var fontPolicySource = {
|
|
|
3
3
|
"$schema": "./font-policy.schema.json",
|
|
4
4
|
"provisionalDecisions": {
|
|
5
5
|
"status": "provisional, owner may revise",
|
|
6
|
-
"note": "Owner decisions resolved provisionally with the recommended defaults. Changing a decision here is the whole edit: every row whose replacement names this decision takes its family and compatibility from it. A recorded measurement for a different family is ignored (treated as unmeasured) until
|
|
6
|
+
"note": "Owner decisions resolved provisionally with the recommended defaults. Changing a decision here is the whole edit: every row whose replacement names this decision takes its family and compatibility from it. A recorded measurement for a different family is ignored (treated as unmeasured) until the measurement is repeated.",
|
|
7
7
|
"decisions": {
|
|
8
8
|
"aptos-preview": {
|
|
9
9
|
"replacement": "Intos",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-
|
|
1
|
+
export { convertFiles, deckFileFormat, exportFormatOf, openDeck, planConversion, readInput, saveDeck, writePlanned } from './chunk-NJRFCM4H.js';
|
|
2
2
|
import './chunk-IC6OPLMU.js';
|
|
3
3
|
import './chunk-WW62PPYV.js';
|
|
4
4
|
import './chunk-UJSAR6GF.js';
|
|
@@ -16,4 +16,4 @@ import './chunk-LU6XM5JQ.js';
|
|
|
16
16
|
import './chunk-P7S3ORB4.js';
|
|
17
17
|
import './chunk-XRMV2GMB.js';
|
|
18
18
|
import './chunk-F4HFDP6I.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-PJSPHHRK.js';
|
|
@@ -43,8 +43,8 @@ declare const RENDER_PACKAGE = "@openpresentation/opf-render";
|
|
|
43
43
|
declare const PPTX_PACKAGE = "@openpresentation/opf-pptx";
|
|
44
44
|
/** Peer ranges. The CLI checks the features it calls rather than the version, so a newer release in range keeps working. */
|
|
45
45
|
declare const PEER_RANGES: {
|
|
46
|
-
readonly "@openpresentation/opf-render": "^0.
|
|
47
|
-
readonly "@openpresentation/opf-pptx": "^0.
|
|
46
|
+
readonly "@openpresentation/opf-render": "^0.26.0-rc.0";
|
|
47
|
+
readonly "@openpresentation/opf-pptx": "^0.26.0-rc.0";
|
|
48
48
|
};
|
|
49
49
|
interface Diagnostic {
|
|
50
50
|
code: string;
|