Skip to content

Commit

Permalink
updated for v3.11.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Aug 6, 2022
1 parent 5f1df2b commit 555774d
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 45 deletions.
53 changes: 29 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@
- [Table of Contents](#table-of-contents)
- [Introduction](#introduction)
- [Features](#features)
- [Works Everywhere](#works-everywhere)
- [Full Featured](#full-featured)
- [Simple and Powerful](#simple-and-powerful)
- [Export Your Way](#export-your-way)
- [HTML to PowerPoint](#html-to-powerpoint)
- [Live Demos](#live-demos)
- [Installation](#installation)
- [CDN](#cdn)
- [Download](#download)
- [Npm](#npm)
- [Yarn](#yarn)
- [CDN](#cdn)
- [Download](#download)
- [Additional Builds](#additional-builds)
- [Documentation](#documentation)
- [Quick Start Guide](#quick-start-guide)
Expand All @@ -42,31 +47,31 @@ This library creates Open Office XML (OOXML) Presentations which are compatible

# Features

**Works Everywhere**
## Works Everywhere

- Every modern desktop and mobile browser is supported
- Integrates with Node, Angular, React, and Electron
- Compatible with PowerPoint, Keynote, and more

**Full Featured**
## Full Featured

- All major object types are available (charts, shapes, tables, etc.)
- Master Slides for academic/corporate branding
- SVG images, animated gifs, YouTube videos, RTL text, and Asian fonts

**Simple And Powerful**
## Simple and Powerful

- The absolute easiest PowerPoint library to use
- Learn as you code will full typescript definitions included
- Tons of demo code comes included (over 75 slides of features)

**Export Your Way**
## Export Your Way

- Exports files direct to client browsers with proper MIME-type
- Other export formats available: base64, blob, stream, etc.
- Presentation compression options and more

**HTML to PowerPoint**
## HTML to PowerPoint

- Includes powerful [HTML-to-PowerPoint](#html-to-powerpoint-feature) feature to transform HTML tables into presentations with a single line of code

Expand All @@ -78,21 +83,35 @@ Visit the demos page to create a simple presentation to see how easy it is to us

# Installation

## Npm

[PptxGenJS NPM Home](https://www.npmjs.com/package/pptxgenjs)

```bash
npm install pptxgenjs --save
```

## Yarn

```bash
yarn add pptxgenjs
```

## CDN

[jsDelivr Home](https://www.jsdelivr.com/package/gh/gitbrent/pptxgenjs)

Bundle: Modern Browsers and IE11

```html
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.10.0/dist/pptxgen.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.11.0/dist/pptxgen.bundle.js"></script>
```

Min files: Modern Browsers

```html
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.10.0/libs/jszip.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.10.0/dist/pptxgen.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.11.0/libs/jszip.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.11.0/dist/pptxgen.min.js"></script>
```

## Download
Expand All @@ -114,20 +133,6 @@ Min files: Modern Browsers
<script src="PptxGenJS/dist/pptxgen.min.js"></script>
```

## Npm

[PptxGenJS NPM Home](https://www.npmjs.com/package/pptxgenjs)

```bash
npm install pptxgenjs --save
```

## Yarn

```bash
yarn add pptxgenjs
```

## Additional Builds

- CommonJS: `dist/pptxgen.cjs.js`
Expand Down
7 changes: 4 additions & 3 deletions demos/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="author" content="https://github.com/gitbrent">
<meta name="website" content="https://github.com/gitbrent/PptxGenJS/">
<meta name="version" content="3.11.0">
<meta name="updated" content="2022-06-12">
<meta name="updated" content="2022-08-06">
<link rel="icon" href="images/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="images/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="images/favicon.png">
Expand All @@ -28,9 +28,9 @@
crossorigin="anonymous"></script>

<!-- RELEASE (CDN)
-->
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/dist/pptxgen.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/demos/modules/demos.mjs" type="module"></script>
-->
<!--
TODO: [only used during `-beta` dev cycles; update to below on release]
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@master/dist/pptxgen.bundle.js"></script>
Expand All @@ -42,9 +42,10 @@
<script src="../modules/demos.mjs" type="module"></script>
-->
<!-- LOCAL TESTING: bundle
-->
<script src="./js/pptxgen.bundle.js"></script>
<script src="../modules/demos.mjs" type="module"></script>
-->

<script type="module">
import { buildDataTable, doAppStart, execGenSlidesFunc, runAllDemos, table2slides1, table2slides2, table2slidesDemoForTab } from './js/browser.js';

Expand Down
4 changes: 2 additions & 2 deletions demos/browser/js/pptxgen.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/browser/js/pptxgen.bundle.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pptxgenjs-demos-node",
"version": "3.10.0",
"version": "3.11.0",
"author": {
"name": "Brent Ely",
"url": "https://github.com/gitbrent/"
Expand All @@ -20,6 +20,6 @@
},
"license": "MIT",
"dependencies": {
"pptxgenjs": "^3.10.0"
"pptxgenjs": "^3.11.0"
}
}
2 changes: 1 addition & 1 deletion demos/react-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"pptxgenjs": "^3.10.0",
"pptxgenjs": "^3.11.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pptxgen.bundle.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/pptxgen.cjs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* PptxGenJS 3.11.0-beta @ 2022-08-06T16:38:54.960Z */
/* PptxGenJS 3.11.0 @ 2022-08-06T19:31:52.315Z */
'use strict';

var JSZip = require('jszip');
Expand Down Expand Up @@ -6697,7 +6697,7 @@ function createSvgPngPreview(rel) {
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var VERSION = '3.11.0-beta-20220725-2230';
var VERSION = '3.11.0';
var PptxGenJS = /** @class */ (function () {
function PptxGenJS() {
var _this = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* PptxGenJS 3.11.0-beta @ 2022-08-06T16:38:54.969Z */
/* PptxGenJS 3.11.0 @ 2022-08-06T19:31:52.331Z */
import JSZip from 'jszip';

/******************************************************************************
Expand Down Expand Up @@ -6691,7 +6691,7 @@ function createSvgPngPreview(rel) {
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var VERSION = '3.11.0-beta-20220725-2230';
var VERSION = '3.11.0';
var PptxGenJS = /** @class */ (function () {
function PptxGenJS() {
var _this = this;
Expand Down
4 changes: 2 additions & 2 deletions dist/pptxgen.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pptxgen.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pptxgenjs",
"version": "3.11.0-beta",
"version": "3.11.0",
"author": {
"name": "Brent Ely",
"url": "https://github.com/gitbrent/"
Expand Down Expand Up @@ -64,6 +64,7 @@
"javascript-create-pptx",
"javascript-generate-pptx",
"javascript-powerpoint",
"javascript-powerpoint-charts",
"javascript-pptx",
"js-create-powerpoint",
"js-create-pptx",
Expand Down
2 changes: 1 addition & 1 deletion src/pptxgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import * as genMedia from './gen-media'
import * as genTable from './gen-tables'
import * as genXml from './gen-xml'

const VERSION = '3.11.0-beta-20220725-2230'
const VERSION = '3.11.0'

export default class PptxGenJS implements IPresentationProps {
// Property getters/setters
Expand Down

0 comments on commit 555774d

Please sign in to comment.