@uniweb/kit 0.10.24 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/kit",
3
- "version": "0.10.24",
3
+ "version": "0.11.0",
4
4
  "description": "Standard component library for Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -44,8 +44,8 @@
44
44
  "shiki": "^3.0.0",
45
45
  "tailwind-merge": "^3.6.0",
46
46
  "temml": "^0.13.2",
47
- "@uniweb/core": "0.8.2",
48
47
  "@uniweb/scene": "0.1.3",
48
+ "@uniweb/core": "0.8.2",
49
49
  "@uniweb/semantic-parser": "1.2.1"
50
50
  },
51
51
  "peerDependencies": {
@@ -31,6 +31,20 @@
31
31
  * through `*.mathcal { font-feature-settings: 'ss01' }`, a NotoSans stylistic
32
32
  * set, and is unaffected by the font's presence.
33
33
  *
34
+ * ⚠️ Do not read that `@font-face` as "math fonts are handled" — it is 9 KB of
35
+ * script capitals and primes, not a math font. The actual glyphs, stretchy
36
+ * brackets and radicals come from an OpenType MATH font on the READER's machine:
37
+ * Temml's stack ends in the generic `math` keyword, which is the CSS mechanism
38
+ * for "give me whatever math font you have". We ship none, deliberately — STIX
39
+ * Two Math is ~820 KB, which is a lot to put in every math-bearing foundation.
40
+ *
41
+ * As of 2026-08-08 that is fine on desktop (Windows ships Cambria Math, macOS
42
+ * ships STIXTwoMath.otf in /System/Library/Fonts/Supplemental) and is the weak
43
+ * spot on Linux and Android, which often have neither. To test any machine:
44
+ * render a `pmatrix` and see whether its parentheses stretch to the rows. If
45
+ * this ever needs solving, the missing lever is a `math` font role in
46
+ * `theme.yml` — the roles today are body / heading / code.
47
+ *
34
48
  * It is imported rather than vendored because the bundler resolves the font URL
35
49
  * for us — Vite emits `Temml.woff2` as an asset and rewrites the `src`. A text
36
50
  * copy breaks that, and drifts from the Temml that produced the markup.