@jsenv/navi 0.27.80 → 0.27.81
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/dist/jsenv_navi.js +13 -0
- package/dist/jsenv_navi.js.map +2 -2
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -6781,6 +6781,19 @@ const TYPO_PROPS = {
|
|
|
6781
6781
|
};
|
|
6782
6782
|
},
|
|
6783
6783
|
textAlign: PASS_THROUGH,
|
|
6784
|
+
textBox: PASS_THROUGH,
|
|
6785
|
+
textBoxTrim: PASS_THROUGH,
|
|
6786
|
+
textBoxEdge: PASS_THROUGH,
|
|
6787
|
+
// Bare boolean preset for the CSS "trim-both cap alphabetic" combo: trims
|
|
6788
|
+
// the invisible space the font adds above/below a line (down to
|
|
6789
|
+
// cap-height/alphabetic baseline) so text visually hugs its box — the
|
|
6790
|
+
// combo from MDN's own text-box example, most useful for compact things
|
|
6791
|
+
// like buttons/badges/labels. Use textBox/textBoxTrim/textBoxEdge
|
|
6792
|
+
// directly for any other combination.
|
|
6793
|
+
textBoxCrop: applyToCssPropWhenTruthy(
|
|
6794
|
+
"textBox",
|
|
6795
|
+
"trim-both cap alphabetic",
|
|
6796
|
+
),
|
|
6784
6797
|
};
|
|
6785
6798
|
const VISUAL_PROPS = {
|
|
6786
6799
|
outline: PASS_THROUGH,
|