@edpire/sdk 0.9.0 → 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 +28 -0
- package/README.md +2 -2
- package/dist/index.mjs +9 -9
- package/dist/react.mjs +10 -10
- package/dist/umd/index.global.js +151 -151
- package/package.json +2 -2
- package/src/styles/shell.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,34 @@ 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
|
+
|
|
12
40
|
## [0.9.0] - 2026-10-26
|
|
13
41
|
|
|
14
42
|
### Changed
|
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.9.
|
|
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.9.
|
|
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
|