pptx-svelte-viewer 2.2.0 → 2.3.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/index.d.ts CHANGED
@@ -6865,6 +6865,13 @@ type FillInput = {
6865
6865
  opacity?: number;
6866
6866
  } | {
6867
6867
  type: 'gradient';
6868
+ /**
6869
+ * Gradient direction in the OOXML `a:lin/@ang` convention: degrees
6870
+ * clockwise from the positive x-axis, pointing from the first stop
6871
+ * towards the last (`0` = left to right, `90` = top to bottom). This is
6872
+ * what lands in `ShapeStyle.fillGradientAngle` and what is written back
6873
+ * to the file, NOT a CSS `linear-gradient()` angle.
6874
+ */
6868
6875
  angle?: number;
6869
6876
  gradientType?: 'linear' | 'radial';
6870
6877
  stops: Array<{
@@ -7022,6 +7029,12 @@ type BackgroundInput = {
7022
7029
  color: string;
7023
7030
  } | {
7024
7031
  type: 'gradient';
7032
+ /**
7033
+ * Slide backgrounds are stored as a ready-made CSS gradient string
7034
+ * (`PptxSlide.backgroundGradient`), so this is a CSS
7035
+ * `linear-gradient()` angle: degrees clockwise from "to top"
7036
+ * (`90` = left to right, `180` = top to bottom). Defaults to `180`.
7037
+ */
7025
7038
  angle?: number;
7026
7039
  stops: Array<{
7027
7040
  color: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, S as t, St as a, _t as o, b as i, bt as r, dt as l, ft as n, gt as S, ht as m, lt as d, mt as p, pt as v, t as g, ut as h, vt as u, w as T, x, xt as f, yt as A } from "./export-BCYxT6cD.js";
1
+ import { C as e, S as t, St as a, _t as o, b as i, bt as r, dt as l, ft as n, gt as S, ht as m, lt as d, mt as p, pt as v, t as g, ut as h, vt as u, w as T, x, xt as f, yt as A } from "./export-ko5GUtEk.js";
2
2
  import { i as b } from "./translator-D2iZRR15.js";
3
3
  import "./i18n.js";
4
4
  export {