@edpire/sdk 0.9.4 → 0.10.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 +23 -0
- package/README.md +2 -2
- package/dist/index.mjs +7 -7
- package/dist/react.mjs +10 -10
- package/dist/umd/index.global.js +159 -158
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,29 @@ the package follows [semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [0.10.0] - 2026-11-09
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Tables fit their content.** Columns size to what is in them instead of sharing the width
|
|
19
|
+
equally, at 14 px with tighter rows, and a word or a number like `3 500` is never split. A
|
|
20
|
+
teacher's dragged column widths are kept. On a long accounting paper the tables took less than
|
|
21
|
+
half the height. Content and grading are unchanged; only the layout.
|
|
22
|
+
- **Wide tables swipe inside themselves** on a narrow screen, with the first column held (on the
|
|
23
|
+
right in Arabic).
|
|
24
|
+
- **A typed answer in a table cell fills the cell** and no longer grows while the learner types, so
|
|
25
|
+
the columns stay put.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Grey cells: a cell the teacher greyed out (`attrs.gray` on a table cell in `content_ast`) shows
|
|
30
|
+
grey. Older versions ignore the attribute.
|
|
31
|
+
|
|
32
|
+
### Upgrade notes
|
|
33
|
+
|
|
34
|
+
- Nothing to change. It is a minor version because every table looks different after the
|
|
35
|
+
upgrade: check a page with tables before you move a pinned script URL. Bundles runtime 3.18.0.
|
|
36
|
+
|
|
14
37
|
## [0.9.4] - 2026-11-09
|
|
15
38
|
|
|
16
39
|
### Added
|
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.10.0/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.10.0/dist/umd/index.global.js"></script>
|
|
334
334
|
<script>
|
|
335
335
|
EdpireSDK.EdpireAssessment.mount({
|
|
336
336
|
token: "{{EMBED_TOKEN}}", // replace server-side before loading
|