@estiva-app/ui 0.69.1 → 0.69.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@estiva-app/ui",
3
- "version": "0.69.1",
3
+ "version": "0.69.2",
4
4
  "description": "Estiva's design tokens (the contract) and a small set of primitives (a convenience) for every Estiva app.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/registry.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "kind": "package",
5
5
  "repo": "estiva-ui",
6
6
  "package": "@estiva-app/ui",
7
- "packageVersion": "0.69.1",
7
+ "packageVersion": "0.69.2",
8
8
  "exports": 162,
9
9
  "typeExports": 152,
10
10
  "files": null
@@ -429,9 +429,15 @@ export function AttachmentCard({
429
429
  return (
430
430
  // `role="status"`: a plain box may not carry a name (axe, aria-prohibited-attr), and a
431
431
  // status says what it is doing — loading — to a reader that cannot see the pulse.
432
+ // The ready picture's shell — its 112px area and the name row under it — so nothing below moves as it
433
+ // arrives (Peek OPT-10: a loading box 34px shorter than the card it became pushed the conversation).
432
434
  // @estiva-escape(no-restyled-part): the loading pulse is AttachmentCard's own state; Card has no loading state (UIG-9, Katerina 17 September)
433
- <Card role="status" fill="inset" aria-busy="true" aria-label={`Loading ${name}`} className={cn('w-[180px] h-28 animate-pulse', className)} {...props}>
434
- {null}
435
+ <Card role="status" fill="inset" aria-busy="true" aria-label={`Loading ${name}`} clip className={cn('flex flex-col w-[180px] animate-pulse', className)} {...props}>
436
+ <div className="w-full h-28" />
437
+ <div className="flex items-center gap-1 pl-2 pr-1 py-1 min-w-0">
438
+ <Truncating text={name} className="flex-1 text-caption text-text-primary truncate" wrapperClassName="flex-1" />
439
+ {downloadControl}
440
+ </div>
435
441
  </Card>
436
442
  )
437
443
  }