@nukleus-sports/ui-patterns 0.1.1 → 0.2.0

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.
@@ -148,6 +148,61 @@ interface DealEmptyStateProps {
148
148
  */
149
149
  declare function DealEmptyState({ message, className, messageClassName }: DealEmptyStateProps): react.JSX.Element;
150
150
 
151
+ /**
152
+ * Reconciled from two near-identical implementations (clientapp's own file
153
+ * comment already said "Mirrors nukleus-app's ContractDetailsCard"):
154
+ * - nukleus-app's version had optional `title`/`caption` props (defaulting
155
+ * to "Contract Details", no caption) -- kept as a strict superset,
156
+ * clientapp's callers simply never pass them.
157
+ * - clientapp's due-date formatting was a local `date-fns`-based helper
158
+ * producing "MMM dd, yyyy" (zero-padded day); this uses `@nukleus-sports/
159
+ * core`'s existing `formatDealDate` ("MMM d, yyyy", no zero-padding)
160
+ * instead of introducing a second date formatter for one field -- the
161
+ * day-padding difference is cosmetic.
162
+ *
163
+ * Found missing from this package entirely while wiring the Marketing Deals
164
+ * Layer 5 retrofit into both apps: both apps' real `MarketingDealMetadata`
165
+ * already has an identical `contract_details` shape (read from an uploaded
166
+ * contract via each app's own AI extraction flow), and both apps' local
167
+ * `ManualDealPreviewDialog`s already rendered this card -- a genuine
168
+ * duplicate that simply hadn't been ported yet, not a single-app feature.
169
+ */
170
+ interface ContractDetailsCardDeliverable {
171
+ description: string;
172
+ due_date: string | null;
173
+ units: number | null;
174
+ }
175
+ interface ContractDetailsCardWarning {
176
+ issue: string;
177
+ detail: string | null;
178
+ }
179
+ interface MarketingDealContractDetails {
180
+ territory: string | null;
181
+ is_exclusive: boolean | null;
182
+ exclusivity: string | null;
183
+ payment_terms: string | null;
184
+ usage_after_term_days: number | null;
185
+ usage_after_term: string | null;
186
+ /** The talent's company that signed the contract (e.g. a loan-out LLC). */
187
+ contracting_entity: string | null;
188
+ deliverables: ContractDetailsCardDeliverable[];
189
+ /** Issues the extractor flagged in the document (e.g. dates that don't line up). */
190
+ warnings: ContractDetailsCardWarning[];
191
+ }
192
+ interface ContractDetailsCardProps {
193
+ details: MarketingDealContractDetails;
194
+ title?: string;
195
+ /** One-line note under the title (e.g. where the details came from). */
196
+ caption?: string;
197
+ className?: string;
198
+ }
199
+ /**
200
+ * Contract terms the deal form has no field for (territory, exclusivity,
201
+ * payment terms, usage rights, deliverables, warnings), read from the
202
+ * uploaded contract. Read-only; rows without a value are left out.
203
+ */
204
+ declare function ContractDetailsCard({ details, title, caption, className, }: ContractDetailsCardProps): react.JSX.Element;
205
+
151
206
  /**
152
207
  * Reconciled from two independent implementations:
153
208
  * - nukleus-app's `ManualDealCard.tsx` — superset: has Edit/Delete, a raw
@@ -193,6 +248,23 @@ declare function DealEmptyState({ message, className, messageClassName }: DealEm
193
248
  * a documented size step with a one-off pixel override is the smell here,
194
249
  * not the other way around. `className` is still exposed if 34px turns out
195
250
  * to be the intentional spec.
251
+ *
252
+ * Revisited after this component shipped: clientapp's real `ManualDealCard`
253
+ * has since converged onto the same aside/tracking-row/payment-footer shape
254
+ * `ProjectDealCard` already had (its `DealAside`/`DealDesktopCard` are shared
255
+ * between both of its card types), independently of this package. Ported
256
+ * into the desktop layout: a status pill (always literal "Complete" — a past
257
+ * deal has no Active/Upcoming state, so this isn't `ProjectDealCard`'s own
258
+ * `statusLabel()`), a Client/Agency/Third-Party-paid tracking row (always
259
+ * `done` — a past deal is definitionally fully settled, same as clientapp's
260
+ * `getPastDealPaymentProgress`'s synthetic fully-paid values), and a payment
261
+ * progress footer (always 100%, "Fully Paid"). `asideFooter` is the same
262
+ * generic slot `ProjectDealCard` has, for clientapp's per-deal commission
263
+ * line ("$X to you · Y% agency commission") — this package has no opinion on
264
+ * what goes there. Desktop only for now; the mobile layout's structure
265
+ * doesn't share clientapp's `DealMobileCard`/`DealCollectedSummary`
266
+ * abstraction the way the desktop one does, a separate, bigger gap left for
267
+ * its own decision later.
196
268
  */
197
269
  interface ManualDealDocumentRef {
198
270
  /** Resolved, directly-fetchable URL for the attached document — a signed/serve
@@ -228,6 +300,12 @@ interface ManualDealMetadata {
228
300
  name: string;
229
301
  url: string;
230
302
  } | null;
303
+ /** The current field for the preview dialog's "Contract Summary" section.
304
+ * `notes` is the legacy key for rows written before this field existed. */
305
+ summary?: string | null;
306
+ /** Terms read from the uploaded contract via each app's own AI extraction
307
+ * flow. Both apps' real data already has this identical shape. */
308
+ contract_details?: MarketingDealContractDetails | null;
231
309
  }
232
310
  interface ManualDeal {
233
311
  id?: string;
@@ -262,9 +340,14 @@ interface ManualDealCardProps {
262
340
  * `EntityImageResolver` for why this package can't resolve storage paths
263
341
  * itself. */
264
342
  resolveImageUrl?: EntityImageResolver;
343
+ /** Rendered at the end of the desktop layout's amount/status column,
344
+ * after the status pill -- e.g. a commission breakdown. Same slot as
345
+ * `ProjectDealCard`'s `asideFooter`; this package has no opinion on what
346
+ * goes here. Desktop only for now -- see module doc. */
347
+ asideFooter?: ReactNode;
265
348
  className?: string;
266
349
  }
267
- declare function ManualDealCard({ deal, onPreview, onEdit, onDelete, onOpenDocument, resolveImageUrl, className, }: ManualDealCardProps): react.JSX.Element;
350
+ declare function ManualDealCard({ deal, onPreview, onEdit, onDelete, onOpenDocument, resolveImageUrl, asideFooter, className, }: ManualDealCardProps): react.JSX.Element;
268
351
 
269
352
  interface ManualDealPreviewDialogProps {
270
353
  deal: ManualDeal | null;
@@ -277,10 +360,13 @@ interface ManualDealPreviewDialogProps {
277
360
  * this package — see the file-level comment for why the two source apps'
278
361
  * behavior couldn't be unified here. */
279
362
  onOpenDocument: (doc: ManualDealDocumentRef) => void;
280
- /** Passed straight through to this dialog's `EntityAvatar` instance. */
363
+ /** Photo of the client whose page this deal is viewed from, shown beside
364
+ * "Client Name". Omit to show just the name (no avatar). */
365
+ clientImageUrl?: string | null;
366
+ /** Passed straight through to this dialog's `EntityAvatar` instances. */
281
367
  resolveImageUrl?: EntityImageResolver;
282
368
  }
283
- declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onOpenDocument, resolveImageUrl, }: ManualDealPreviewDialogProps): react.JSX.Element | null;
369
+ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onOpenDocument, clientImageUrl, resolveImageUrl, }: ManualDealPreviewDialogProps): react.JSX.Element | null;
284
370
 
285
371
  /**
286
372
  * Reconciled from two independent implementations:
@@ -352,10 +438,15 @@ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onO
352
438
  * it always fell back to "?" for an owner with no photo. clientapp used
353
439
  * `"initials"`, which correctly derives initials from `name`. Kept
354
440
  * `"initials"`, same reasoning as `ManualDealCard`.
355
- * - Owner name abbreviation: nukleus-app abbreviated via a local
356
- * `getInitialFullName(name, null, true)` helper ("J. Smith"); clientapp
357
- * rendered the name as-is. Not part of this design system (display nicety,
358
- * not core behavior) — rendered verbatim, same call as `ManualDealCard`.
441
+ * - Owner name abbreviation: originally reconciled as "render verbatim"
442
+ * (clientapp's behavior when this file was first built). Revisited when
443
+ * clientapp's `ProjectDealCard.tsx` was found to have since grown its own
444
+ * `getInitialFullName(name, null, true)` abbreviation ("J. Smith") --
445
+ * matching what nukleus-app's (by-then-retired) local component already
446
+ * did. Both apps' real current behavior agrees, so this renders abbreviated
447
+ * via `@nukleus-sports/core`'s `abbreviatePersonName` (the `EntityAvatar`
448
+ * still gets the raw `owner_name` for initials -- only the visible text
449
+ * span is abbreviated, same split as both apps' originals).
359
450
  * - Owner-name empty fallback: nukleus-app used a literal `"--"`; clientapp
360
451
  * used `"—"` (em dash). `formatDealDate` (from `@nukleus-sports/core`)
361
452
  * already established "—" as this design system's missing-value sentinel,
@@ -394,6 +485,11 @@ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onO
394
485
  * `<button>` calling it instead of an `<a href>` — nukleus-app's adapter
395
486
  * can wire its demo-mode toast through this; clientapp simply never passes
396
487
  * it and always gets a real link.
488
+ * - Commission line: clientapp renders a per-deal commission breakdown
489
+ * ("$X to you · Y% agency commission") in the aside column, after the
490
+ * status pill; nukleus-app has no equivalent at all. Rather than teach
491
+ * this package the concept of a commission, `asideFooter` is a generic
492
+ * slot rendered in that exact spot — nukleus-app simply never passes it.
397
493
  *
398
494
  * No icon needed inlining — `ArrowDownFormIcon`, `CheckRingRoundIcon`, and
399
495
  * `XsViewInvoiceIcon` are all already in `@nukleus-sports/icons`.
@@ -449,8 +545,13 @@ interface ProjectDealCardProps {
449
545
  onCollabClick?: (e: MouseEvent<HTMLButtonElement>) => void;
450
546
  /** Passed straight through to this card's `EntityAvatar` instances. */
451
547
  resolveImageUrl?: EntityImageResolver;
548
+ /** Rendered at the end of the amount/status column, after the status pill
549
+ * -- e.g. a commission breakdown. This package has no opinion on what
550
+ * goes here (clientapp's real cards render a commission line nukleus-app
551
+ * has no equivalent for at all); omit for nothing extra. */
552
+ asideFooter?: ReactNode;
452
553
  className?: string;
453
554
  }
454
- declare function ProjectDealCard({ deal, isCompleted, collabMembership, collabHref, onCollabClick, resolveImageUrl, className, }: ProjectDealCardProps): react.JSX.Element;
555
+ declare function ProjectDealCard({ deal, isCompleted, collabMembership, collabHref, onCollabClick, resolveImageUrl, asideFooter, className, }: ProjectDealCardProps): react.JSX.Element;
455
556
 
456
- export { DealEmptyState, type DealEmptyStateProps, ENTITY_AVATAR_SIZE_PX, EntityAvatar, type EntityAvatarProps, type EntityAvatarSize, type EntityImageResolver, type EntityType, type ManualDeal, ManualDealCard, type ManualDealCardProps, type ManualDealDocumentRef, type ManualDealMetadata, ManualDealPreviewDialog, type ManualDealPreviewDialogProps, type ProjectCollabMembership, type ProjectDeal, ProjectDealCard, type ProjectDealCardProps, type RowAction, RowActionsDropdown, type RowActionsDropdownProps, resolveDealDocument };
557
+ export { ContractDetailsCard, type ContractDetailsCardDeliverable, type ContractDetailsCardProps, type ContractDetailsCardWarning, DealEmptyState, type DealEmptyStateProps, ENTITY_AVATAR_SIZE_PX, EntityAvatar, type EntityAvatarProps, type EntityAvatarSize, type EntityImageResolver, type EntityType, type ManualDeal, ManualDealCard, type ManualDealCardProps, type ManualDealDocumentRef, type ManualDealMetadata, ManualDealPreviewDialog, type ManualDealPreviewDialogProps, type MarketingDealContractDetails, type ProjectCollabMembership, type ProjectDeal, ProjectDealCard, type ProjectDealCardProps, type RowAction, RowActionsDropdown, type RowActionsDropdownProps, resolveDealDocument };
@@ -148,6 +148,61 @@ interface DealEmptyStateProps {
148
148
  */
149
149
  declare function DealEmptyState({ message, className, messageClassName }: DealEmptyStateProps): react.JSX.Element;
150
150
 
151
+ /**
152
+ * Reconciled from two near-identical implementations (clientapp's own file
153
+ * comment already said "Mirrors nukleus-app's ContractDetailsCard"):
154
+ * - nukleus-app's version had optional `title`/`caption` props (defaulting
155
+ * to "Contract Details", no caption) -- kept as a strict superset,
156
+ * clientapp's callers simply never pass them.
157
+ * - clientapp's due-date formatting was a local `date-fns`-based helper
158
+ * producing "MMM dd, yyyy" (zero-padded day); this uses `@nukleus-sports/
159
+ * core`'s existing `formatDealDate` ("MMM d, yyyy", no zero-padding)
160
+ * instead of introducing a second date formatter for one field -- the
161
+ * day-padding difference is cosmetic.
162
+ *
163
+ * Found missing from this package entirely while wiring the Marketing Deals
164
+ * Layer 5 retrofit into both apps: both apps' real `MarketingDealMetadata`
165
+ * already has an identical `contract_details` shape (read from an uploaded
166
+ * contract via each app's own AI extraction flow), and both apps' local
167
+ * `ManualDealPreviewDialog`s already rendered this card -- a genuine
168
+ * duplicate that simply hadn't been ported yet, not a single-app feature.
169
+ */
170
+ interface ContractDetailsCardDeliverable {
171
+ description: string;
172
+ due_date: string | null;
173
+ units: number | null;
174
+ }
175
+ interface ContractDetailsCardWarning {
176
+ issue: string;
177
+ detail: string | null;
178
+ }
179
+ interface MarketingDealContractDetails {
180
+ territory: string | null;
181
+ is_exclusive: boolean | null;
182
+ exclusivity: string | null;
183
+ payment_terms: string | null;
184
+ usage_after_term_days: number | null;
185
+ usage_after_term: string | null;
186
+ /** The talent's company that signed the contract (e.g. a loan-out LLC). */
187
+ contracting_entity: string | null;
188
+ deliverables: ContractDetailsCardDeliverable[];
189
+ /** Issues the extractor flagged in the document (e.g. dates that don't line up). */
190
+ warnings: ContractDetailsCardWarning[];
191
+ }
192
+ interface ContractDetailsCardProps {
193
+ details: MarketingDealContractDetails;
194
+ title?: string;
195
+ /** One-line note under the title (e.g. where the details came from). */
196
+ caption?: string;
197
+ className?: string;
198
+ }
199
+ /**
200
+ * Contract terms the deal form has no field for (territory, exclusivity,
201
+ * payment terms, usage rights, deliverables, warnings), read from the
202
+ * uploaded contract. Read-only; rows without a value are left out.
203
+ */
204
+ declare function ContractDetailsCard({ details, title, caption, className, }: ContractDetailsCardProps): react.JSX.Element;
205
+
151
206
  /**
152
207
  * Reconciled from two independent implementations:
153
208
  * - nukleus-app's `ManualDealCard.tsx` — superset: has Edit/Delete, a raw
@@ -193,6 +248,23 @@ declare function DealEmptyState({ message, className, messageClassName }: DealEm
193
248
  * a documented size step with a one-off pixel override is the smell here,
194
249
  * not the other way around. `className` is still exposed if 34px turns out
195
250
  * to be the intentional spec.
251
+ *
252
+ * Revisited after this component shipped: clientapp's real `ManualDealCard`
253
+ * has since converged onto the same aside/tracking-row/payment-footer shape
254
+ * `ProjectDealCard` already had (its `DealAside`/`DealDesktopCard` are shared
255
+ * between both of its card types), independently of this package. Ported
256
+ * into the desktop layout: a status pill (always literal "Complete" — a past
257
+ * deal has no Active/Upcoming state, so this isn't `ProjectDealCard`'s own
258
+ * `statusLabel()`), a Client/Agency/Third-Party-paid tracking row (always
259
+ * `done` — a past deal is definitionally fully settled, same as clientapp's
260
+ * `getPastDealPaymentProgress`'s synthetic fully-paid values), and a payment
261
+ * progress footer (always 100%, "Fully Paid"). `asideFooter` is the same
262
+ * generic slot `ProjectDealCard` has, for clientapp's per-deal commission
263
+ * line ("$X to you · Y% agency commission") — this package has no opinion on
264
+ * what goes there. Desktop only for now; the mobile layout's structure
265
+ * doesn't share clientapp's `DealMobileCard`/`DealCollectedSummary`
266
+ * abstraction the way the desktop one does, a separate, bigger gap left for
267
+ * its own decision later.
196
268
  */
197
269
  interface ManualDealDocumentRef {
198
270
  /** Resolved, directly-fetchable URL for the attached document — a signed/serve
@@ -228,6 +300,12 @@ interface ManualDealMetadata {
228
300
  name: string;
229
301
  url: string;
230
302
  } | null;
303
+ /** The current field for the preview dialog's "Contract Summary" section.
304
+ * `notes` is the legacy key for rows written before this field existed. */
305
+ summary?: string | null;
306
+ /** Terms read from the uploaded contract via each app's own AI extraction
307
+ * flow. Both apps' real data already has this identical shape. */
308
+ contract_details?: MarketingDealContractDetails | null;
231
309
  }
232
310
  interface ManualDeal {
233
311
  id?: string;
@@ -262,9 +340,14 @@ interface ManualDealCardProps {
262
340
  * `EntityImageResolver` for why this package can't resolve storage paths
263
341
  * itself. */
264
342
  resolveImageUrl?: EntityImageResolver;
343
+ /** Rendered at the end of the desktop layout's amount/status column,
344
+ * after the status pill -- e.g. a commission breakdown. Same slot as
345
+ * `ProjectDealCard`'s `asideFooter`; this package has no opinion on what
346
+ * goes here. Desktop only for now -- see module doc. */
347
+ asideFooter?: ReactNode;
265
348
  className?: string;
266
349
  }
267
- declare function ManualDealCard({ deal, onPreview, onEdit, onDelete, onOpenDocument, resolveImageUrl, className, }: ManualDealCardProps): react.JSX.Element;
350
+ declare function ManualDealCard({ deal, onPreview, onEdit, onDelete, onOpenDocument, resolveImageUrl, asideFooter, className, }: ManualDealCardProps): react.JSX.Element;
268
351
 
269
352
  interface ManualDealPreviewDialogProps {
270
353
  deal: ManualDeal | null;
@@ -277,10 +360,13 @@ interface ManualDealPreviewDialogProps {
277
360
  * this package — see the file-level comment for why the two source apps'
278
361
  * behavior couldn't be unified here. */
279
362
  onOpenDocument: (doc: ManualDealDocumentRef) => void;
280
- /** Passed straight through to this dialog's `EntityAvatar` instance. */
363
+ /** Photo of the client whose page this deal is viewed from, shown beside
364
+ * "Client Name". Omit to show just the name (no avatar). */
365
+ clientImageUrl?: string | null;
366
+ /** Passed straight through to this dialog's `EntityAvatar` instances. */
281
367
  resolveImageUrl?: EntityImageResolver;
282
368
  }
283
- declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onOpenDocument, resolveImageUrl, }: ManualDealPreviewDialogProps): react.JSX.Element | null;
369
+ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onOpenDocument, clientImageUrl, resolveImageUrl, }: ManualDealPreviewDialogProps): react.JSX.Element | null;
284
370
 
285
371
  /**
286
372
  * Reconciled from two independent implementations:
@@ -352,10 +438,15 @@ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onO
352
438
  * it always fell back to "?" for an owner with no photo. clientapp used
353
439
  * `"initials"`, which correctly derives initials from `name`. Kept
354
440
  * `"initials"`, same reasoning as `ManualDealCard`.
355
- * - Owner name abbreviation: nukleus-app abbreviated via a local
356
- * `getInitialFullName(name, null, true)` helper ("J. Smith"); clientapp
357
- * rendered the name as-is. Not part of this design system (display nicety,
358
- * not core behavior) — rendered verbatim, same call as `ManualDealCard`.
441
+ * - Owner name abbreviation: originally reconciled as "render verbatim"
442
+ * (clientapp's behavior when this file was first built). Revisited when
443
+ * clientapp's `ProjectDealCard.tsx` was found to have since grown its own
444
+ * `getInitialFullName(name, null, true)` abbreviation ("J. Smith") --
445
+ * matching what nukleus-app's (by-then-retired) local component already
446
+ * did. Both apps' real current behavior agrees, so this renders abbreviated
447
+ * via `@nukleus-sports/core`'s `abbreviatePersonName` (the `EntityAvatar`
448
+ * still gets the raw `owner_name` for initials -- only the visible text
449
+ * span is abbreviated, same split as both apps' originals).
359
450
  * - Owner-name empty fallback: nukleus-app used a literal `"--"`; clientapp
360
451
  * used `"—"` (em dash). `formatDealDate` (from `@nukleus-sports/core`)
361
452
  * already established "—" as this design system's missing-value sentinel,
@@ -394,6 +485,11 @@ declare function ManualDealPreviewDialog({ deal, open, onOpenChange, onEdit, onO
394
485
  * `<button>` calling it instead of an `<a href>` — nukleus-app's adapter
395
486
  * can wire its demo-mode toast through this; clientapp simply never passes
396
487
  * it and always gets a real link.
488
+ * - Commission line: clientapp renders a per-deal commission breakdown
489
+ * ("$X to you · Y% agency commission") in the aside column, after the
490
+ * status pill; nukleus-app has no equivalent at all. Rather than teach
491
+ * this package the concept of a commission, `asideFooter` is a generic
492
+ * slot rendered in that exact spot — nukleus-app simply never passes it.
397
493
  *
398
494
  * No icon needed inlining — `ArrowDownFormIcon`, `CheckRingRoundIcon`, and
399
495
  * `XsViewInvoiceIcon` are all already in `@nukleus-sports/icons`.
@@ -449,8 +545,13 @@ interface ProjectDealCardProps {
449
545
  onCollabClick?: (e: MouseEvent<HTMLButtonElement>) => void;
450
546
  /** Passed straight through to this card's `EntityAvatar` instances. */
451
547
  resolveImageUrl?: EntityImageResolver;
548
+ /** Rendered at the end of the amount/status column, after the status pill
549
+ * -- e.g. a commission breakdown. This package has no opinion on what
550
+ * goes here (clientapp's real cards render a commission line nukleus-app
551
+ * has no equivalent for at all); omit for nothing extra. */
552
+ asideFooter?: ReactNode;
452
553
  className?: string;
453
554
  }
454
- declare function ProjectDealCard({ deal, isCompleted, collabMembership, collabHref, onCollabClick, resolveImageUrl, className, }: ProjectDealCardProps): react.JSX.Element;
555
+ declare function ProjectDealCard({ deal, isCompleted, collabMembership, collabHref, onCollabClick, resolveImageUrl, asideFooter, className, }: ProjectDealCardProps): react.JSX.Element;
455
556
 
456
- export { DealEmptyState, type DealEmptyStateProps, ENTITY_AVATAR_SIZE_PX, EntityAvatar, type EntityAvatarProps, type EntityAvatarSize, type EntityImageResolver, type EntityType, type ManualDeal, ManualDealCard, type ManualDealCardProps, type ManualDealDocumentRef, type ManualDealMetadata, ManualDealPreviewDialog, type ManualDealPreviewDialogProps, type ProjectCollabMembership, type ProjectDeal, ProjectDealCard, type ProjectDealCardProps, type RowAction, RowActionsDropdown, type RowActionsDropdownProps, resolveDealDocument };
557
+ export { ContractDetailsCard, type ContractDetailsCardDeliverable, type ContractDetailsCardProps, type ContractDetailsCardWarning, DealEmptyState, type DealEmptyStateProps, ENTITY_AVATAR_SIZE_PX, EntityAvatar, type EntityAvatarProps, type EntityAvatarSize, type EntityImageResolver, type EntityType, type ManualDeal, ManualDealCard, type ManualDealCardProps, type ManualDealDocumentRef, type ManualDealMetadata, ManualDealPreviewDialog, type ManualDealPreviewDialogProps, type MarketingDealContractDetails, type ProjectCollabMembership, type ProjectDeal, ProjectDealCard, type ProjectDealCardProps, type RowAction, RowActionsDropdown, type RowActionsDropdownProps, resolveDealDocument };