@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.
@@ -82516,6 +82516,7 @@ const css$9 = /* css */`@layer navi;
82516
82516
  * unitSize?: string,
82517
82517
  * unitSizeRatio?: number,
82518
82518
  * unitColor?: string,
82519
+ * unitSpacing?: string | number,
82519
82520
  * label?: string,
82520
82521
  * size?: string,
82521
82522
  * lang?: string,
@@ -82526,6 +82527,13 @@ const css$9 = /* css */`@layer navi;
82526
82527
  * bold?: boolean,
82527
82528
  * [key: string]: any,
82528
82529
  * }>}
82530
+ *
82531
+ * @param {string|number} [unitSpacing]
82532
+ * Gap between the value and the unit when `unitPosition="right"`. Accepts a
82533
+ * size token (`"s"`, `"m"`, …), a CSS length string, a number (px) or
82534
+ * `"0"` to glue the unit to the value. Defaults to a regular space
82535
+ * character. Ignored when `unitPosition="bottom"`, where the unit sits on
82536
+ * its own line.
82529
82537
  */
82530
82538
  const Quantity = ({
82531
82539
  children,
@@ -82534,6 +82542,7 @@ const Quantity = ({
82534
82542
  unitSize = "smaller",
82535
82543
  unitSizeRatio,
82536
82544
  unitColor,
82545
+ unitSpacing,
82537
82546
  label,
82538
82547
  size,
82539
82548
  lang,
@@ -82572,7 +82581,7 @@ const Quantity = ({
82572
82581
  }), jsxs(Text, {
82573
82582
  className: "navi_quantity_body",
82574
82583
  size: size,
82575
- spacing: unitBottom ? jsx("br", {}) : undefined,
82584
+ spacing: unitBottom ? jsx("br", {}) : unitSpacing,
82576
82585
  children: [jsx("span", {
82577
82586
  className: "navi_quantity_value",
82578
82587
  children: loading ? jsx(Icon, {