@edpire/sdk 0.8.3 → 0.9.1
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 +56 -0
- package/README.md +2 -2
- package/dist/index.mjs +9 -9
- package/dist/react.mjs +10 -10
- package/dist/umd/index.global.js +155 -155
- package/package.json +2 -2
- package/src/styles/shell.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,62 @@ integrators pin a version and had no way to tell what a bump would change.
|
|
|
9
9
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
10
10
|
the package follows [semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
11
11
|
|
|
12
|
+
## [Unreleased]
|
|
13
|
+
|
|
14
|
+
## [0.9.1] - 2026-11-01
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Points read as numbers do.** "1 pt" and "2 pts" (French "0,5 pt", Arabic's
|
|
19
|
+
dual and plural), and the header's total is no longer capitalised ("Pts").
|
|
20
|
+
- **"Powered by Edpire" no longer floats over the answers.** It sits after the
|
|
21
|
+
last question, small, in the flow.
|
|
22
|
+
- **On a phone:** the header's button says "Submit" (the full label from the
|
|
23
|
+
`sm` breakpoint up), and the score banner wraps into two short rows instead
|
|
24
|
+
of taking most of the screen.
|
|
25
|
+
- **The submit dialog names the unfinished questions** ("Exercise 1 ·
|
|
26
|
+
Question 2", five at most, then "and N more"); each one closes the dialog and
|
|
27
|
+
scrolls to its question.
|
|
28
|
+
- **A typed blank has a name** for screen readers ("Your answer", in French and
|
|
29
|
+
Arabic too).
|
|
30
|
+
- **A full stop stays with its blank.** The punctuation right after a blank or
|
|
31
|
+
an inline choice no longer wraps alone onto the next line; the blank's own
|
|
32
|
+
text still wraps.
|
|
33
|
+
- A placed word-bank choice no longer keeps an invisible "×" once graded, so
|
|
34
|
+
the slot is as wide as its word (runtime 3.17.0).
|
|
35
|
+
|
|
36
|
+
### Upgrade notes
|
|
37
|
+
|
|
38
|
+
Nothing to change in your code, and nothing breaks if you stay on 0.9.0.
|
|
39
|
+
|
|
40
|
+
## [0.9.0] - 2026-10-26
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **Long exercise texts are read in the documents panel.** An exercise's
|
|
45
|
+
reference text over 80 words, with more than one picture or video, or with a
|
|
46
|
+
table over 6 rows, now shows in the panel beside the questions (after the
|
|
47
|
+
assessment's own documents, under an "Exercise N" heading that links back to
|
|
48
|
+
the exercise). In the exercise's place, a line says the text is in the panel,
|
|
49
|
+
with a link that opens it there. On a wide screen the panel follows the
|
|
50
|
+
learner: reaching that exercise brings its text into view. Short texts stay
|
|
51
|
+
above their questions. An assessment whose only long text is an exercise's
|
|
52
|
+
now has the panel too.
|
|
53
|
+
- Exercise reference texts read at the questions' size: on a wide screen they
|
|
54
|
+
used to show twice as large.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- In right-to-left layouts, the documents tab and card on a narrow screen open
|
|
59
|
+
from the right.
|
|
60
|
+
- Answering a question no longer redraws every question of the assessment:
|
|
61
|
+
long assessments stay responsive while the learner answers (runtime 3.16.0).
|
|
62
|
+
|
|
63
|
+
### Upgrade notes
|
|
64
|
+
|
|
65
|
+
Nothing to change in your code. The learner's view of long exercise texts
|
|
66
|
+
changes, as above (runtime 3.15.0, then 3.16.0).
|
|
67
|
+
|
|
12
68
|
## [0.8.3] - 2026-10-24
|
|
13
69
|
|
|
14
70
|
### Fixed
|
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ embed.unmount()
|
|
|
92
92
|
**CDN (no bundler):**
|
|
93
93
|
|
|
94
94
|
```html
|
|
95
|
-
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.
|
|
95
|
+
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.9.1/dist/umd/index.global.js"></script>
|
|
96
96
|
<script>
|
|
97
97
|
EdpireSDK.EdpireAssessment.mount({ token, container: "#root", onComplete: handleDone })
|
|
98
98
|
</script>
|
|
@@ -330,7 +330,7 @@ The integration uses two parts:
|
|
|
330
330
|
</head>
|
|
331
331
|
<body>
|
|
332
332
|
<div id="root"></div>
|
|
333
|
-
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/@edpire/sdk@0.9.1/dist/umd/index.global.js"></script>
|
|
334
334
|
<script>
|
|
335
335
|
EdpireSDK.EdpireAssessment.mount({
|
|
336
336
|
token: "{{EMBED_TOKEN}}", // replace server-side before loading
|