@json-to-office/shared 1.11.2 → 2.5.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/chunk-4MJFAJFW.js +507 -0
- package/dist/chunk-4MJFAJFW.js.map +1 -0
- package/dist/index.d.ts +1034 -4
- package/dist/index.js +42 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas/slide-content.d.ts +10 -10
- package/dist/schemas/slide-content.js +5 -3
- package/dist/schemas/slide-content.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-6KUQYVPT.js +0 -177
- package/dist/chunk-6KUQYVPT.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -60,13 +60,33 @@ import {
|
|
|
60
60
|
unionBranches
|
|
61
61
|
} from "./chunk-6TNT7DGC.js";
|
|
62
62
|
import {
|
|
63
|
+
CANVASES,
|
|
64
|
+
ChromeSchema,
|
|
65
|
+
DesignSpacingSchema,
|
|
66
|
+
DesignSystemProperties,
|
|
67
|
+
DesignSystemSchema,
|
|
63
68
|
FontFamilyNameSchema,
|
|
64
69
|
FontRegistryEntrySchema,
|
|
65
70
|
FontRegistrySchema,
|
|
66
71
|
FontSourceSchema,
|
|
72
|
+
MotifSchema,
|
|
73
|
+
PaletteSchema,
|
|
74
|
+
ROLE_SCALE_STEPS,
|
|
67
75
|
SAFE_FONTS,
|
|
68
|
-
|
|
69
|
-
|
|
76
|
+
TYPE_ROLES,
|
|
77
|
+
TextCaseSchema,
|
|
78
|
+
TypeRoleNameSchema,
|
|
79
|
+
TypeRoleSchema,
|
|
80
|
+
TypeRolesSchema,
|
|
81
|
+
TypographySchema,
|
|
82
|
+
capsFormatting,
|
|
83
|
+
designCanvas,
|
|
84
|
+
designColors,
|
|
85
|
+
isSafeFont,
|
|
86
|
+
resolveDesignColor,
|
|
87
|
+
resolveTypeRoles,
|
|
88
|
+
validateDesignColors
|
|
89
|
+
} from "./chunk-4MJFAJFW.js";
|
|
70
90
|
import {
|
|
71
91
|
compareSemver,
|
|
72
92
|
isValidSemver,
|
|
@@ -1376,10 +1396,15 @@ function mergeWithDefaults(userConfig, themeDefaults) {
|
|
|
1376
1396
|
return deepMerge(themeDefaults, userConfig);
|
|
1377
1397
|
}
|
|
1378
1398
|
export {
|
|
1399
|
+
CANVASES,
|
|
1400
|
+
ChromeSchema,
|
|
1379
1401
|
ComponentValidationError,
|
|
1380
1402
|
DEFAULT_CHART_THEME_COLORS,
|
|
1381
1403
|
DEFAULT_ERROR_CONFIG,
|
|
1382
1404
|
DEFAULT_VISUAL_DPI,
|
|
1405
|
+
DesignSpacingSchema,
|
|
1406
|
+
DesignSystemProperties,
|
|
1407
|
+
DesignSystemSchema,
|
|
1383
1408
|
DuplicateComponentError,
|
|
1384
1409
|
ERROR_EMOJIS,
|
|
1385
1410
|
FONT_URL_ALLOWLIST,
|
|
@@ -1394,10 +1419,19 @@ export {
|
|
|
1394
1419
|
MAX_RASTERIZE_FONT_BYTES,
|
|
1395
1420
|
MAX_VISUAL_DPI,
|
|
1396
1421
|
MIN_VISUAL_DPI,
|
|
1422
|
+
MotifSchema,
|
|
1397
1423
|
POPULAR_GOOGLE_FONTS,
|
|
1424
|
+
PaletteSchema,
|
|
1398
1425
|
RENDERER_DEPENDENCY_MISSING,
|
|
1426
|
+
ROLE_SCALE_STEPS,
|
|
1399
1427
|
RendererRegistry,
|
|
1400
1428
|
SAFE_FONTS,
|
|
1429
|
+
TYPE_ROLES,
|
|
1430
|
+
TextCaseSchema,
|
|
1431
|
+
TypeRoleNameSchema,
|
|
1432
|
+
TypeRoleSchema,
|
|
1433
|
+
TypeRolesSchema,
|
|
1434
|
+
TypographySchema,
|
|
1401
1435
|
UPSTREAM_OVERRIDES,
|
|
1402
1436
|
UnknownPreservedComponentError,
|
|
1403
1437
|
UnsupportedRendererFeatureError,
|
|
@@ -1408,6 +1442,7 @@ export {
|
|
|
1408
1442
|
assertRendererSupports,
|
|
1409
1443
|
buildDefaultSubstitutionMap,
|
|
1410
1444
|
calculatePosition,
|
|
1445
|
+
capsFormatting,
|
|
1411
1446
|
clampVisualDpi,
|
|
1412
1447
|
clearComponentNamesCache,
|
|
1413
1448
|
collectFontNamesFromDocx,
|
|
@@ -1421,6 +1456,8 @@ export {
|
|
|
1421
1456
|
createJsonParseError,
|
|
1422
1457
|
createVersion,
|
|
1423
1458
|
defaultSubstituteFor,
|
|
1459
|
+
designCanvas,
|
|
1460
|
+
designColors,
|
|
1424
1461
|
detectFontFormat,
|
|
1425
1462
|
diagnoseUnsupportedFeatures,
|
|
1426
1463
|
documentFontRegistry,
|
|
@@ -1451,6 +1488,8 @@ export {
|
|
|
1451
1488
|
rendererError,
|
|
1452
1489
|
rendererWarning,
|
|
1453
1490
|
resolveComponentVersion,
|
|
1491
|
+
resolveDesignColor,
|
|
1492
|
+
resolveTypeRoles,
|
|
1454
1493
|
restructureNameDiscriminatedUnions,
|
|
1455
1494
|
rewriteFontFamilyName,
|
|
1456
1495
|
synthesizeFamilyName,
|
|
@@ -1459,6 +1498,7 @@ export {
|
|
|
1459
1498
|
transformValueErrors,
|
|
1460
1499
|
unionBranches,
|
|
1461
1500
|
validateCustomComponentProps,
|
|
1501
|
+
validateDesignColors,
|
|
1462
1502
|
validateFontReferences
|
|
1463
1503
|
};
|
|
1464
1504
|
//# sourceMappingURL=index.js.map
|