pptx-svelte-viewer 3.6.2 → 3.6.3

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/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [3.6.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@3.6.2) - 2026-09-03
11
+
12
+ ### Bug Fixes
13
+
14
+ - Use point units in font-size controls ([#205](https://github.com/ChristopherVR/pptx-viewer/issues/205)) (by @Sudhansh6) ([65031d4](https://github.com/ChristopherVR/pptx-viewer/commit/65031d4c92e5c9520a3188986ed7ba7c21af856e))
15
+ - **react,shared:** Toggle shortcuts from selected text ([#207](https://github.com/ChristopherVR/pptx-viewer/issues/207)) (by @Sudhansh6) ([a9d294c](https://github.com/ChristopherVR/pptx-viewer/commit/a9d294c4ebe34f5c03b511f57a7608e7656c5bbb))
16
+ - Preserve table-cell font sizes across renderers ([#208](https://github.com/ChristopherVR/pptx-viewer/issues/208)) (by @Sudhansh6) ([8c2d97d](https://github.com/ChristopherVR/pptx-viewer/commit/8c2d97d81fdaa3781ebd95bdf0fb04af79d42b84))
17
+
10
18
  ## [3.6.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-svelte-viewer@3.6.1) - 2026-09-03
11
19
 
12
20
  ### Bug Fixes
@@ -1,4 +1,4 @@
1
- import { B as ce, C as pe, D as de, E as ve, F as ue, H as A, I as he, L as O, N as $, O as ge, P as ee, R as W, S as _e, T as xe, U as V, V as fe, _ as me, b as be, g as ye, h as ke, k as we, v as Ce, w as Me, x as Se, y as Pe, z as Ne } from "./export-CCruzrvR.js";
1
+ import { B as ce, C as pe, D as de, E as ve, F as ue, H as A, I as he, L as O, N as $, O as ge, P as ee, R as W, S as _e, T as xe, U as V, V as fe, _ as me, b as be, g as ye, h as ke, k as we, v as Ce, w as Me, x as Se, y as Pe, z as Ne } from "./export-qzEb53P_.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as e from "svelte/internal/client";
4
4
  import { onMount as qe, untrack as R } from "svelte";
@@ -38941,7 +38941,7 @@ function ive(e, t, n) {
38941
38941
  const i = t["@_u"];
38942
38942
  i != null && String(i) !== "none" && (e.underline = !0), t["@_strike"] && String(t["@_strike"]) !== "noStrike" && (e.strikethrough = !0);
38943
38943
  const a = parseInt(String(t["@_sz"] ?? ""), 10);
38944
- if (Number.isFinite(a) && a > 0 && (e.fontSize = Math.round(a / 100)), t["a:solidFill"]) {
38944
+ if (Number.isFinite(a) && a > 0 && (e.fontSize = a / 100), t["a:solidFill"]) {
38945
38945
  const s = n.parseColor(t["a:solidFill"]);
38946
38946
  s && (e.color = s);
38947
38947
  }
@@ -38999,7 +38999,7 @@ function sve(e, t, n) {
38999
38999
  }
39000
39000
  function lve(e, t, n) {
39001
39001
  let i = !1;
39002
- if (e["@_b"] === "1" && (t.bold = !0, i = !0), e["@_i"] === "1" && (t.italic = !0, i = !0), e["@_u"] && e["@_u"] !== "none" && (t.underline = !0, i = !0), e["@_sz"] && (t.fontSize = Math.round(parseInt(String(e["@_sz"]), 10) / 100), i = !0), e["a:solidFill"]) {
39002
+ if (e["@_b"] === "1" && (t.bold = !0, i = !0), e["@_i"] === "1" && (t.italic = !0, i = !0), e["@_u"] && e["@_u"] !== "none" && (t.underline = !0, i = !0), e["@_sz"] && (t.fontSize = parseInt(String(e["@_sz"]), 10) / 100, i = !0), e["a:solidFill"]) {
39003
39003
  const a = n.parseColor(e["a:solidFill"]);
39004
39004
  a && (t.color = a, i = !0);
39005
39005
  }
@@ -54817,7 +54817,7 @@ function wke(e, t, n) {
54817
54817
  continue;
54818
54818
  }
54819
54819
  const d = { ...c["a:rPr"] ?? {} };
54820
- t.bold !== void 0 && (d["@_b"] = t.bold ? "1" : "0"), t.italic !== void 0 && (d["@_i"] = t.italic ? "1" : "0"), t.underline !== void 0 && (d["@_u"] = t.underline ? "sng" : "none"), t.fontSize !== void 0 && (d["@_sz"] = String(t.fontSize * 100)), t.color && (d["a:solidFill"] = { "a:srgbClr": { "@_val": t.color.replace("#", "") } });
54820
+ t.bold !== void 0 && (d["@_b"] = t.bold ? "1" : "0"), t.italic !== void 0 && (d["@_i"] = t.italic ? "1" : "0"), t.underline !== void 0 && (d["@_u"] = t.underline ? "sng" : "none"), t.fontSize !== void 0 && (d["@_sz"] = String(Math.round(t.fontSize * 100))), t.color && (d["a:solidFill"] = { "a:srgbClr": { "@_val": t.color.replace("#", "") } });
54821
54821
  const p = { "a:rPr": d };
54822
54822
  for (const u of Object.keys(c))
54823
54823
  u !== "a:rPr" && (p[u] = c[u]);
@@ -121674,7 +121674,7 @@ function xdt(e) {
121674
121674
  var ydt = r.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
121675
121675
  function bdt(e, t) {
121676
121676
  var n = ydt(), i = r.child(n);
121677
- r.await(i, () => import("./AiChatPanel-DxsS6XJ6.js"), null, (a, o) => {
121677
+ r.await(i, () => import("./AiChatPanel-Cv9e-hY0.js"), null, (a, o) => {
121678
121678
  var s = r.derived(() => {
121679
121679
  var { default: p } = r.get(o);
121680
121680
  return { AiChatPanel: p };
@@ -138081,7 +138081,7 @@ function v2t(e, t) {
138081
138081
  var x2t = r.from_html('<button type="button"></button>'), YD = r.from_html('<p class="svelte-dgy1er"> </p>'), y2t = r.from_html('<p class="notice svelte-dgy1er"> </p>'), b2t = r.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), _2t = r.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), S2t = r.from_html('<div class="pptx-svelte-account svelte-dgy1er"><section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <div class="profile-row svelte-dgy1er"><span class="avatar svelte-dgy1er"> </span> <label class="name-field svelte-dgy1er"><span> </span> <input type="text" class="svelte-dgy1er"/></label></div> <span class="swatches-label svelte-dgy1er"> </span> <div class="swatch-row svelte-dgy1er" role="group"></div></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!> <button type="button" class="secondary svelte-dgy1er"> </button> <!> <p class="muted svelte-dgy1er"> </p></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <p class="svelte-dgy1er">pptx-svelte-viewer</p> <p class="muted svelte-dgy1er"> </p></section> <!></div>');
138082
138082
  function w2t(e, t) {
138083
138083
  r.push(t, !0);
138084
- const n = he(), i = "3.6.1";
138084
+ const n = he(), i = "3.6.2";
138085
138085
  let a = r.state(r.proxy(ah().profile ?? { ...F3 })), o = r.state(void 0), s = r.state(!1);
138086
138086
  async function l() {
138087
138087
  r.set(o, await ost(), !0);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-CCruzrvR.js";
1
+ import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-qzEb53P_.js";
2
2
  import { i as R } from "./translator-qCiMaTev.js";
3
3
  import "./i18n.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { A as e, M as a, c as s, d as t, f as i, gt as l, ht as S, i as n, j as o, l as v, m as d, n as p, o as b, p as g, r as c, s as x, t as m, u as w } from "../export-CCruzrvR.js";
1
+ import { A as e, M as a, c as s, d as t, f as i, gt as l, ht as S, i as n, j as o, l as v, m as d, n as p, o as b, p as g, r as c, s as x, t as m, u as w } from "../export-qzEb53P_.js";
2
2
  var T = a, A = o, P = e;
3
3
  export {
4
4
  m as PowerPointViewer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
4
4
  "description": "Svelte 5 PowerPoint viewer and editor component: render, edit, present, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "office",