pptx-react-viewer 1.1.47 → 1.1.48

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.
@@ -175,6 +175,9 @@ interface ShapeQuickStyle {
175
175
  style: Partial<$>;
176
176
  }
177
177
 
178
+ /** Collaboration role within a session. */
179
+ type CollaborationRole = 'owner' | 'collaborator' | 'viewer';
180
+
178
181
  /**
179
182
  * Collaboration types: Shared type definitions for the real-time
180
183
  * collaboration infrastructure (Yjs-backed CRDT sync, presence tracking,
@@ -183,15 +186,6 @@ interface ShapeQuickStyle {
183
186
  * @module collaboration/types
184
187
  */
185
188
 
186
- /**
187
- * Configuration for enabling real-time collaboration on a presentation.
188
- *
189
- * When provided to `PowerPointViewer`, the viewer wraps its content in a
190
- * `CollaborationProvider` and wires up presence tracking, remote cursors,
191
- * and CRDT-based state synchronisation.
192
- */
193
- /** Role of a user within a collaboration or broadcast session. */
194
- type CollaborationRole = 'collaborator' | 'broadcaster' | 'viewer';
195
189
  interface CollaborationConfig {
196
190
  /** Unique identifier for the collaboration room (alphanumeric, hyphens, underscores). */
197
191
  roomId: string;
@@ -233,7 +227,7 @@ interface UserPresence {
233
227
  lastUpdated: string;
234
228
  /** Optional currently selected element ID. */
235
229
  selectedElementId?: string;
236
- /** Role in the session (broadcaster, viewer, or collaborator). */
230
+ /** Role in the session (owner, viewer, or collaborator). */
237
231
  role?: CollaborationRole;
238
232
  }
239
233
  /** Value exposed by `CollaborationContext`. */
@@ -175,6 +175,9 @@ interface ShapeQuickStyle {
175
175
  style: Partial<$>;
176
176
  }
177
177
 
178
+ /** Collaboration role within a session. */
179
+ type CollaborationRole = 'owner' | 'collaborator' | 'viewer';
180
+
178
181
  /**
179
182
  * Collaboration types: Shared type definitions for the real-time
180
183
  * collaboration infrastructure (Yjs-backed CRDT sync, presence tracking,
@@ -183,15 +186,6 @@ interface ShapeQuickStyle {
183
186
  * @module collaboration/types
184
187
  */
185
188
 
186
- /**
187
- * Configuration for enabling real-time collaboration on a presentation.
188
- *
189
- * When provided to `PowerPointViewer`, the viewer wraps its content in a
190
- * `CollaborationProvider` and wires up presence tracking, remote cursors,
191
- * and CRDT-based state synchronisation.
192
- */
193
- /** Role of a user within a collaboration or broadcast session. */
194
- type CollaborationRole = 'collaborator' | 'broadcaster' | 'viewer';
195
189
  interface CollaborationConfig {
196
190
  /** Unique identifier for the collaboration room (alphanumeric, hyphens, underscores). */
197
191
  roomId: string;
@@ -233,7 +227,7 @@ interface UserPresence {
233
227
  lastUpdated: string;
234
228
  /** Optional currently selected element ID. */
235
229
  selectedElementId?: string;
236
- /** Role in the session (broadcaster, viewer, or collaborator). */
230
+ /** Role in the session (owner, viewer, or collaborator). */
237
231
  role?: CollaborationRole;
238
232
  }
239
233
  /** Value exposed by `CollaborationContext`. */
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-B_EM_Tg7.mjs';
1
+ export { P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-DSaLy8x5.mjs';
2
2
  import { Options } from 'html2canvas-pro';
3
3
  import { ViewerTheme } from './theme/index.js';
4
4
  export { ViewerTheme, ViewerThemeColors, defaultCssVars, defaultRadius, defaultThemeColors, themeToCssVars } from './theme/index.js';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-B_EM_Tg7.js';
1
+ export { P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-DSaLy8x5.js';
2
2
  import { Options } from 'html2canvas-pro';
3
3
  import { ViewerTheme } from './theme/index.js';
4
4
  export { ViewerTheme, ViewerThemeColors, defaultCssVars, defaultRadius, defaultThemeColors, themeToCssVars } from './theme/index.js';