@jsenv/navi 0.29.136 → 0.29.137
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 +6 -1
- package/dist/jsenv_navi.js.map +2 -2
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -54063,10 +54063,15 @@ const TimeRange = ({
|
|
|
54063
54063
|
}
|
|
54064
54064
|
// compact writes the whole span as one short token ("8h–10h"): nothing
|
|
54065
54065
|
// around the separator, and no break inside it. The other formats are
|
|
54066
|
-
// phrases — they get room around the separator, and may wrap there
|
|
54066
|
+
// phrases — they get room around the separator, and may wrap there (their
|
|
54067
|
+
// separator carries its own spaces, which is enough to keep Text from adding
|
|
54068
|
+
// more). Text spaces its children out by default, so the tight span has to
|
|
54069
|
+
// say it wants none — before {...props}, so a caller can still ask for its
|
|
54070
|
+
// own spacing.
|
|
54067
54071
|
const tight = format === "compact";
|
|
54068
54072
|
return jsxs(Text, {
|
|
54069
54073
|
noWrap: tight,
|
|
54074
|
+
spacing: tight ? 0 : undefined,
|
|
54070
54075
|
...props,
|
|
54071
54076
|
children: [jsx(Time, {
|
|
54072
54077
|
...boundProps,
|