@bug-on/m3-expressive 1.2.6 → 1.2.7

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.
@@ -291,6 +291,38 @@ interface CircularProgressProps extends ProgressBaseProps {
291
291
  * Speed multiplier for Indeterminate circular crawler rotation.
292
292
  */
293
293
  crawlerSpeed?: number;
294
+ /**
295
+ * Controls track visibility in Indeterminate mode.
296
+ * - `true`: Track is always visible behind the active indicator.
297
+ * - `false`: Track is hidden (transparent).
298
+ * - `"auto"`: Follows M3 defaults — hidden for `flat`, visible for `wavy`.
299
+ *
300
+ * @default "auto"
301
+ */
302
+ showTrack?: boolean | "auto";
303
+ /**
304
+ * Minimum arc fraction for indeterminate animation (0–1).
305
+ * Controls how small the arc gets at its shortest point.
306
+ *
307
+ * @default 0.1 (matching M3 Kotlin)
308
+ */
309
+ minProgress?: number;
310
+ /**
311
+ * Maximum arc fraction for indeterminate animation (0–1).
312
+ * Controls how large the arc gets at its longest point.
313
+ *
314
+ * @default 0.8 (matching M3 Kotlin)
315
+ */
316
+ maxProgress?: number;
317
+ /**
318
+ * Amplitude range for wavy indeterminate mode as `[min, max]`.
319
+ * The amplitude modulates between these values based on the arc length.
320
+ * - When arc is short → amplitude approaches `min` (flatter).
321
+ * - When arc is long → amplitude approaches `max` (wavier).
322
+ *
323
+ * @default [0, effectiveAmplitude] (matching Kotlin: flat when short, full wave when long)
324
+ */
325
+ amplitudeRange?: [number, number];
294
326
  }
295
327
  type ProgressIndicatorProps = LinearProgressProps | CircularProgressProps;
296
328
 
@@ -291,6 +291,38 @@ interface CircularProgressProps extends ProgressBaseProps {
291
291
  * Speed multiplier for Indeterminate circular crawler rotation.
292
292
  */
293
293
  crawlerSpeed?: number;
294
+ /**
295
+ * Controls track visibility in Indeterminate mode.
296
+ * - `true`: Track is always visible behind the active indicator.
297
+ * - `false`: Track is hidden (transparent).
298
+ * - `"auto"`: Follows M3 defaults — hidden for `flat`, visible for `wavy`.
299
+ *
300
+ * @default "auto"
301
+ */
302
+ showTrack?: boolean | "auto";
303
+ /**
304
+ * Minimum arc fraction for indeterminate animation (0–1).
305
+ * Controls how small the arc gets at its shortest point.
306
+ *
307
+ * @default 0.1 (matching M3 Kotlin)
308
+ */
309
+ minProgress?: number;
310
+ /**
311
+ * Maximum arc fraction for indeterminate animation (0–1).
312
+ * Controls how large the arc gets at its longest point.
313
+ *
314
+ * @default 0.8 (matching M3 Kotlin)
315
+ */
316
+ maxProgress?: number;
317
+ /**
318
+ * Amplitude range for wavy indeterminate mode as `[min, max]`.
319
+ * The amplitude modulates between these values based on the arc length.
320
+ * - When arc is short → amplitude approaches `min` (flatter).
321
+ * - When arc is long → amplitude approaches `max` (wavier).
322
+ *
323
+ * @default [0, effectiveAmplitude] (matching Kotlin: flat when short, full wave when long)
324
+ */
325
+ amplitudeRange?: [number, number];
294
326
  }
295
327
  type ProgressIndicatorProps = LinearProgressProps | CircularProgressProps;
296
328