# @imgly/pptx-importer

## 0.3.0

### Minor Changes

- Import text decorations and lists. Underline style (`<a:rPr u>`) and underline color (`<a:uFill>`) across all five CE.SDK underline styles (Solid/Double/Dotted/Dashed/Wavy) plus strikethrough now apply per text run; bullet and numbered list markers (`<a:buChar>` / `<a:buAutoNum>` / `<a:buNone>`) and nesting level (`lvl`) apply per paragraph. Previously these were silently dropped. Unsupported constructs emit structured warnings (`TEXT_UNDERLINE_STYLE_UNKNOWN`, `TEXT_STRIKE_DOUBLE_FALLBACK`, `TEXT_LIST_LEVEL_CLAMPED`, `TEXT_LIST_PARAGRAPH_MISMATCH`). (#15500)
- The package now declares its `@cesdk/engine` / `@cesdk/node` peer dependency as **≥ 1.72.0** (text decoration / list import relies on engine APIs introduced in CE.SDK 1.72.0) and requires Node.js ≥ 22.

### Patch Changes

- Dual ESM + CommonJS build output (`dist/index.js` + `dist/index.cjs`) and externalized runtime dependencies (e.g. JSZip), reducing the published bundle size.

## 0.2.1

### Patch Changes

- Merged upstream fixes from `@imgly/pptx-importer@0.1.7` (published after the 0.2.0 branch diverged): support for non-sequential slide numbering and OOXML style inheritance from slide layouts and masters, background fills, text capitalization, color map overrides, placeholder transforms, and image path resolution. No API changes on top of 0.2.0.

## 0.2.0

### Minor Changes

- **BREAKING**: Renamed exported helper `addGoogleFontsAssetLibrary` → `addGfontsAssetLibrary`. Update your imports and call sites. The new helper registers two CDN-hosted asset sources — `ly.img.gfonts` (1,394 Google Fonts) and `ly.img.gfonts-fallbacks` (16 proprietary-font aliases like Helvetica→Roboto) — from the new shared `@imgly/gfonts` package. The `downloadGoogleFonts()` build-time step and the `PPTX_IMPORTER_VERSION` Vitest define have been removed. Customers who referenced the previous asset source ID directly (e.g. via `engine.asset.findAssets`) must also update to `ly.img.gfonts`. The `TypefaceResolver` extension point is unchanged.
- Font-resolver logic simplified to use `findAssets` against the two gfonts asset sources with strict-fallback-first and fuzzy-main-catalog flow. Removed the hardcoded `TYPEFACE_ALIAS_MAP` and weight helpers.

### Patch Changes

- Proprietary-font fallback lookups now use strict case-insensitive id/label matching against the fallbacks asset source. Previously, fuzzy matching on the 16-entry fallback source could silently alias unrelated fonts (notably CJK fonts like "Hiragino Sans" or "Meiryo") to arbitrary substitutes.

## 0.1.7

- Add background image support and placeholder fill inheritance
- Consolidate font alias maps into single TYPEFACE_ALIAS_MAP
- Use shared extractColor utility and existing gradientConverter

## 0.1.6

- Improved visual fidelity for presentations using master/layout templates
- Add spacing between pages in vertical stack layout

## 0.1.5

- Support OOXML style inheritance from slide layouts and masters
- Support background fills, text capitalization, and color map overrides
- Fix placeholder transforms and image path resolution

## 0.1.4

- Fix slide ordering for non-sequential slide numbering

## 0.1.0

- Initial release with text, shapes, images, groups, gradients, shadows, and theme colors
