@edpire/sdk 0.9.4 → 0.11.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/react.d.mts CHANGED
@@ -358,20 +358,21 @@ interface EdpireAssessmentPlayerProps {
358
358
  */
359
359
  onError?: (error: EmbedError) => void;
360
360
  /**
361
- * CSS class name for the container `<div>`. Use this to control the player size.
361
+ * CSS class name for the container `<div>`.
362
362
  *
363
- * The player fills its container — you own the outer dimensions.
363
+ * Since 0.11.0 the player is at least as tall as the screen and grows with
364
+ * the paper, and the page scrolls: give the container a width, not a fixed
365
+ * height. A box of its own height needs `overflow: auto` (it then scrolls).
364
366
  *
365
- * @example "h-screen" // full viewport height
366
- * @example "h-[600px] w-full" // fixed height
367
+ * @example "w-full"
368
+ * @example "h-[600px] overflow-auto" // a panel that scrolls itself
367
369
  */
368
370
  className?: string;
369
371
  /**
370
372
  * Inline style for the container `<div>`.
371
373
  *
372
- * When `className` is not set, defaults to `{ width: "100%", height: "100%" }`.
373
- * Provide this (or `className`) to size the player — a zero-height container
374
- * will collapse the player.
374
+ * When `className` is not set, defaults to `{ width: "100%" }` (0.11.0; it
375
+ * was `{ width: "100%", height: "100%" }` when the player filled its box).
375
376
  */
376
377
  style?: React.CSSProperties;
377
378
  }