@jsenv/navi 0.29.234 → 0.29.235

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.
@@ -81269,6 +81269,7 @@ const css$9 = /* css */`@layer navi;
81269
81269
  * unitSize?: string,
81270
81270
  * unitSizeRatio?: number,
81271
81271
  * unitColor?: string,
81272
+ * unitSpacing?: string | number,
81272
81273
  * label?: string,
81273
81274
  * size?: string,
81274
81275
  * lang?: string,
@@ -81279,6 +81280,13 @@ const css$9 = /* css */`@layer navi;
81279
81280
  * bold?: boolean,
81280
81281
  * [key: string]: any,
81281
81282
  * }>}
81283
+ *
81284
+ * @param {string|number} [unitSpacing]
81285
+ * Gap between the value and the unit when `unitPosition="right"`. Accepts a
81286
+ * size token (`"s"`, `"m"`, …), a CSS length string, a number (px) or
81287
+ * `"0"` to glue the unit to the value. Defaults to a regular space
81288
+ * character. Ignored when `unitPosition="bottom"`, where the unit sits on
81289
+ * its own line.
81282
81290
  */
81283
81291
  const Quantity = ({
81284
81292
  children,
@@ -81287,6 +81295,7 @@ const Quantity = ({
81287
81295
  unitSize = "smaller",
81288
81296
  unitSizeRatio,
81289
81297
  unitColor,
81298
+ unitSpacing,
81290
81299
  label,
81291
81300
  size,
81292
81301
  lang,
@@ -81325,7 +81334,7 @@ const Quantity = ({
81325
81334
  }), jsxs(Text, {
81326
81335
  className: "navi_quantity_body",
81327
81336
  size: size,
81328
- spacing: unitBottom ? jsx("br", {}) : undefined,
81337
+ spacing: unitBottom ? jsx("br", {}) : unitSpacing,
81329
81338
  children: [jsx("span", {
81330
81339
  className: "navi_quantity_value",
81331
81340
  children: loading ? jsx(Icon, {