@photoroom/ui 0.1.458 → 0.1.460

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/colors.css CHANGED
@@ -203,6 +203,7 @@
203
203
  --color-surface-low: var(--color-neutral-100);
204
204
  --color-surface-high: var(--color-neutral-0);
205
205
  --color-surface-higher: var(--color-neutral-0);
206
+ --color-surface-subtle: var(--color-neutral-50);
206
207
 
207
208
  /* Background */
208
209
  --color-background-default: var(--color-neutral-900);
@@ -398,6 +399,7 @@
398
399
  --color-surface-low: var(--color-neutral-0);
399
400
  --color-surface-high: var(--color-neutral-100);
400
401
  --color-surface-higher: var(--color-neutral-200);
402
+ --color-surface-subtle: var(--color-neutral-50);
401
403
 
402
404
  /* Background */
403
405
  --color-background-default: var(--color-neutral-900);
@@ -6,8 +6,9 @@ export type ProgressTimerProps = {
6
6
  * Used to drive the logarithmic progress bar: progress accelerates
7
7
  * quickly at the start then slows down, and is capped at 95% so the
8
8
  * bar never reaches full before the backend responds.
9
+ * Undefined until the first placeholder event arrives; the bar stays at 0.
9
10
  */
10
- totalExpectedDuration: number;
11
+ totalExpectedDuration?: number;
11
12
  /**
12
13
  * Unix timestamp (ms) when generation started. When provided the elapsed
13
14
  * timer and progress bar resume from that point instead of resetting to
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ProgressTimer/ProgressTimer.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6EAA6E;IAC7E,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B;;;;;OAKG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAqBF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,SAAS,GACV,EAAE,kBAAkB,+BAsHpB"}
1
+ {"version":3,"file":"ProgressTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ProgressTimer/ProgressTimer.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6EAA6E;IAC7E,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAqBF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,SAAS,GACV,EAAE,kBAAkB,+BAyHpB"}