hazo_ui 6.11.2 → 6.12.3

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.d.cts CHANGED
@@ -2730,6 +2730,10 @@ interface HazoUiEtaProgressProps {
2730
2730
  level?: StateLevel;
2731
2731
  /** Label shown above the bar. */
2732
2732
  label?: string;
2733
+ /** Show percentage text next to the label. Default false. */
2734
+ showPercent?: boolean;
2735
+ /** Bar height in px. Default 8. */
2736
+ size?: number;
2733
2737
  /** hazo-state API endpoint. Default '/api/hazo-state'. */
2734
2738
  endpoint?: string;
2735
2739
  /** Ref that exposes start/unitDone/finish to the parent. */
@@ -2749,7 +2753,7 @@ interface HazoUiEtaProgressProps {
2749
2753
  * // In effect: handle.current?.start(); ... handle.current?.finish();
2750
2754
  * ```
2751
2755
  */
2752
- declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): React$1.JSX.Element;
2756
+ declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, showPercent, size, endpoint, handleRef, className, }: HazoUiEtaProgressProps): React$1.JSX.Element;
2753
2757
 
2754
2758
  /**
2755
2759
  * Pure list helpers for HazoUiMemoryDropdown history entries.
package/dist/index.d.ts CHANGED
@@ -2730,6 +2730,10 @@ interface HazoUiEtaProgressProps {
2730
2730
  level?: StateLevel;
2731
2731
  /** Label shown above the bar. */
2732
2732
  label?: string;
2733
+ /** Show percentage text next to the label. Default false. */
2734
+ showPercent?: boolean;
2735
+ /** Bar height in px. Default 8. */
2736
+ size?: number;
2733
2737
  /** hazo-state API endpoint. Default '/api/hazo-state'. */
2734
2738
  endpoint?: string;
2735
2739
  /** Ref that exposes start/unitDone/finish to the parent. */
@@ -2749,7 +2753,7 @@ interface HazoUiEtaProgressProps {
2749
2753
  * // In effect: handle.current?.start(); ... handle.current?.finish();
2750
2754
  * ```
2751
2755
  */
2752
- declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): React$1.JSX.Element;
2756
+ declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, showPercent, size, endpoint, handleRef, className, }: HazoUiEtaProgressProps): React$1.JSX.Element;
2753
2757
 
2754
2758
  /**
2755
2759
  * Pure list helpers for HazoUiMemoryDropdown history entries.