pdfjs-reader-core 0.5.8 → 0.5.9
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/index.cjs +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14408,10 +14408,14 @@ function StickyLabel({ screenAnchor, action }) {
|
|
|
14408
14408
|
letterSpacing: 0.6,
|
|
14409
14409
|
textTransform: "uppercase",
|
|
14410
14410
|
fontWeight: 500,
|
|
14411
|
-
|
|
14411
|
+
// Wrap instead of truncating with an ellipsis. Short labels stay
|
|
14412
|
+
// single-line naturally; longer ones grow in height rather than
|
|
14413
|
+
// losing their tail. `overflowWrap: 'anywhere'` keeps a stray
|
|
14414
|
+
// long word from pushing the pill past `maxWidth` (normal word
|
|
14415
|
+
// breaking stops at whitespace and can't break inside words).
|
|
14412
14416
|
maxWidth: PILL_MAX_W_BODY,
|
|
14413
|
-
|
|
14414
|
-
|
|
14417
|
+
whiteSpace: "normal",
|
|
14418
|
+
overflowWrap: "anywhere",
|
|
14415
14419
|
// Warm two-layer shadow (matches GhostReference's palette).
|
|
14416
14420
|
boxShadow: "0 1px 2px rgba(42, 36, 32, 0.12), 0 8px 18px -6px rgba(42, 36, 32, 0.22)",
|
|
14417
14421
|
// Internal left accent rule — a 2px terracotta stripe.
|
|
@@ -14708,10 +14712,13 @@ function CalloutLabelPill({
|
|
|
14708
14712
|
letterSpacing: 0.6,
|
|
14709
14713
|
textTransform: "uppercase",
|
|
14710
14714
|
fontWeight: 500,
|
|
14711
|
-
|
|
14715
|
+
// Wrap instead of truncating. Short labels stay single-line;
|
|
14716
|
+
// longer ones grow taller rather than losing their tail to an
|
|
14717
|
+
// ellipsis. `overflowWrap: 'anywhere'` guards against a stray
|
|
14718
|
+
// long word pushing the pill past `maxWidth`.
|
|
14712
14719
|
maxWidth: PILL_MAX_W_CAPS,
|
|
14713
|
-
|
|
14714
|
-
|
|
14720
|
+
whiteSpace: "normal",
|
|
14721
|
+
overflowWrap: "anywhere",
|
|
14715
14722
|
boxShadow: "0 1px 2px rgba(42, 36, 32, 0.12), 0 8px 18px -6px rgba(42, 36, 32, 0.22)",
|
|
14716
14723
|
// Accent rule on the "inward" edge (the one closest to the arrow).
|
|
14717
14724
|
backgroundImage: spec.accentGradient,
|