@json-to-office/core-pptx 0.19.0 → 0.20.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/components/chart.d.ts.map +1 -1
- package/dist/components/highcharts.d.ts +1 -1
- package/dist/components/highcharts.d.ts.map +1 -1
- package/dist/core/generator.d.ts.map +1 -1
- package/dist/core/structure.d.ts.map +1 -1
- package/dist/index.js +121 -33
- package/dist/index.js.map +1 -1
- package/dist/plugin/createPresentationGenerator.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/color.d.ts +6 -0
- package/dist/utils/color.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/utils/color.d.ts
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* convention uses '#'-prefixed values (e.g. '#FF0000').
|
|
5
5
|
*/
|
|
6
6
|
import type { PptxThemeConfig, PipelineWarning } from '../types';
|
|
7
|
+
/**
|
|
8
|
+
* Default series-color tokens for charts. Shared by the native `chart`
|
|
9
|
+
* component and the `highcharts` component so both palettes stay in sync
|
|
10
|
+
* with the active theme when the author sets no explicit colors.
|
|
11
|
+
*/
|
|
12
|
+
export declare const DEFAULT_CHART_THEME_COLORS: string[];
|
|
7
13
|
/**
|
|
8
14
|
* Resolve a color value to bare hex (no '#' prefix).
|
|
9
15
|
* Accepts hex colors (with or without '#') or semantic theme color names.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/utils/color.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAiBjE;;;GAGG;AACH,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/utils/color.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAiBjE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,UAOtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,eAAe,EACtB,QAAQ,CAAC,EAAE,eAAe,EAAE,GAC3B,MAAM,CA8BR"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/core-pptx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Core PPTX presentation generation engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pptxgenjs": "^3.12.0",
|
|
24
24
|
"probe-image-size": "7.2.3",
|
|
25
25
|
"@json-to-office/shared": "^0.16.0",
|
|
26
|
-
"@json-to-office/shared-pptx": "^0.
|
|
26
|
+
"@json-to-office/shared-pptx": "^0.20.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "20.11.0",
|