@uniweb/kit 0.10.11 → 0.10.12
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 +3 -3
- package/src/math-tokens.css +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/kit",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.12",
|
|
4
4
|
"description": "Standard component library for Uniweb foundations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"fuse.js": "^7.0.0",
|
|
44
44
|
"shiki": "^3.0.0",
|
|
45
45
|
"tailwind-merge": "^3.6.0",
|
|
46
|
+
"@uniweb/scene": "0.1.2",
|
|
46
47
|
"@uniweb/core": "0.8.1",
|
|
47
|
-
"@uniweb/semantic-parser": "1.2.1"
|
|
48
|
-
"@uniweb/scene": "0.1.2"
|
|
48
|
+
"@uniweb/semantic-parser": "1.2.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^19.0.0",
|
package/src/math-tokens.css
CHANGED
|
@@ -46,11 +46,20 @@
|
|
|
46
46
|
math mtd { padding-top: 0.5ex; padding-bottom: 0.5ex; }
|
|
47
47
|
math mtable.tml-jot mtd { padding-top: 0.7ex; padding-bottom: 0.7ex; }
|
|
48
48
|
|
|
49
|
-
/* AMS auto-numbering
|
|
49
|
+
/* AMS auto-numbering, for lanes that keep our CSS counter.
|
|
50
|
+
|
|
51
|
+
Scoped to :empty because the document lanes cannot rely on it -- Paged.js
|
|
52
|
+
rewrites counters for its own pagination and strips counter-increment, so
|
|
53
|
+
every equation rendered as "(0)" (measured 2026-07-31; the declaration
|
|
54
|
+
survives intact without the polyfill). press therefore writes the numbers
|
|
55
|
+
into the spans as text, and a span carrying a number is no longer :empty, so
|
|
56
|
+
the two can never both fire.
|
|
57
|
+
|
|
58
|
+
AMS auto-numbering. Which equations number is the AUTHOR's choice, made in
|
|
50
59
|
LaTeX: `align` and `equation` number, `aligned` and the starred forms do not.
|
|
51
60
|
Without these two rules that choice was discarded -- `align` and `align*`
|
|
52
61
|
rendered identically, so an author who asked for numbers silently got none. */
|
|
53
|
-
.tml-eqn::before {
|
|
62
|
+
.tml-eqn:empty::before {
|
|
54
63
|
counter-increment: tmlEqnNo;
|
|
55
64
|
content: "(" counter(tmlEqnNo) ")";
|
|
56
65
|
}
|