@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/CHANGELOG.md +69 -0
- package/README.md +2 -2
- package/dist/client.d.mts +1 -1
- package/dist/index.mjs +11 -11
- package/dist/react.d.mts +8 -7
- package/dist/react.mjs +11 -11
- package/dist/umd/index.global.js +165 -164
- package/package.json +3 -3
- package/src/styles/runtime-utilities.css +1 -1
- package/src/styles/shell.css +1 -1
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>`.
|
|
361
|
+
* CSS class name for the container `<div>`.
|
|
362
362
|
*
|
|
363
|
-
*
|
|
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 "
|
|
366
|
-
* @example "h-[600px]
|
|
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%"
|
|
373
|
-
*
|
|
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
|
}
|