pxengine 0.1.147 → 0.1.149

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
@@ -2230,7 +2230,7 @@ declare function resolveFenceTagComponent(tag: string): string;
2230
2230
  * skeleton per component) so every category maps to a hand-built, reusable
2231
2231
  * <ChatSkeleton /> shape.
2232
2232
  */
2233
- type ChatSkeletonCategory = "chart" | "table" | "card" | "stat" | "list" | "form" | "text" | "media";
2233
+ type ChatSkeletonCategory = "chart" | "table" | "card" | "stat" | "list" | "form" | "text" | "media" | "job";
2234
2234
  /**
2235
2235
  * Hand-authored component-name → skeleton-category map. Deliberately manual
2236
2236
  * (same rationale as `curatedPreviews` in scripts/generate-metadata.ts)
@@ -2526,17 +2526,30 @@ declare const ArrowToggleAtom: React__default.FC<ArrowToggleAtomType>;
2526
2526
  interface ChatSkeletonProps {
2527
2527
  /** The chat fence tag (e.g. "kpi-stats-card"), available the instant the fence header streams in. */
2528
2528
  tag?: string;
2529
+ /**
2530
+ * The already-loaded organism for this tag, if the host app has one
2531
+ * (organismMap[tag]) — many chat widgets (mcq, campaign-seed, confirmation,
2532
+ * ...) are per-organization custom compositions, not fixed library
2533
+ * components, so their real shape/size can only come from here, not from
2534
+ * `tag` alone. Optional: falls back to the static tag-based resolution
2535
+ * when omitted or not yet loaded.
2536
+ */
2537
+ organism?: unknown;
2529
2538
  theme?: WidgetTheme;
2530
2539
  className?: string;
2531
2540
  }
2532
2541
 
2533
2542
  /**
2534
- * Shape-matched loading placeholder for a chat-streamed widget. Resolves the
2543
+ * Shape-matched loading placeholder for a chat-streamed widget. When the
2544
+ * `organism` for this tag is already loaded (many chat widgets are
2545
+ * per-organization custom compositions, not fixed library components), its
2546
+ * real structure is read directly for the shape/size. Otherwise resolves the
2535
2547
  * fence `tag` (available the instant the fence header streams in, before the
2536
- * JSON body finishes) straight to a skeleton category, so the placeholder's
2537
- * size/shape roughly matches the real component and swapping in the real
2538
- * widget doesn't visibly "pop". Unrecognized tags fall back to the generic
2539
- * card shape rather than a blank state.
2548
+ * JSON body finishes) to a curated category + height for that component.
2549
+ * Either way, an unrecognized/not-yet-loaded case falls back to the generic
2550
+ * card shape at a category-average height rather than a blank state. Width
2551
+ * isn't tracked every chat surface renders widgets at full column width,
2552
+ * so only height varies meaningfully.
2540
2553
  */
2541
2554
  declare const ChatSkeleton: React__default.FC<ChatSkeletonProps>;
2542
2555
 
@@ -3880,6 +3893,8 @@ interface ReportTheme {
3880
3893
  /** One planned section in a report outline (content only, no styling). */
3881
3894
  interface ReportOutlineSection {
3882
3895
  heading?: string;
3896
+ /** One-line description of what this section covers (DEV-286). */
3897
+ sub_heading?: string;
3883
3898
  body?: string;
3884
3899
  takeaway?: string;
3885
3900
  /** Informational review flag (DEV-194) — never gates Approve & Build. */
package/dist/index.d.ts CHANGED
@@ -2230,7 +2230,7 @@ declare function resolveFenceTagComponent(tag: string): string;
2230
2230
  * skeleton per component) so every category maps to a hand-built, reusable
2231
2231
  * <ChatSkeleton /> shape.
2232
2232
  */
2233
- type ChatSkeletonCategory = "chart" | "table" | "card" | "stat" | "list" | "form" | "text" | "media";
2233
+ type ChatSkeletonCategory = "chart" | "table" | "card" | "stat" | "list" | "form" | "text" | "media" | "job";
2234
2234
  /**
2235
2235
  * Hand-authored component-name → skeleton-category map. Deliberately manual
2236
2236
  * (same rationale as `curatedPreviews` in scripts/generate-metadata.ts)
@@ -2526,17 +2526,30 @@ declare const ArrowToggleAtom: React__default.FC<ArrowToggleAtomType>;
2526
2526
  interface ChatSkeletonProps {
2527
2527
  /** The chat fence tag (e.g. "kpi-stats-card"), available the instant the fence header streams in. */
2528
2528
  tag?: string;
2529
+ /**
2530
+ * The already-loaded organism for this tag, if the host app has one
2531
+ * (organismMap[tag]) — many chat widgets (mcq, campaign-seed, confirmation,
2532
+ * ...) are per-organization custom compositions, not fixed library
2533
+ * components, so their real shape/size can only come from here, not from
2534
+ * `tag` alone. Optional: falls back to the static tag-based resolution
2535
+ * when omitted or not yet loaded.
2536
+ */
2537
+ organism?: unknown;
2529
2538
  theme?: WidgetTheme;
2530
2539
  className?: string;
2531
2540
  }
2532
2541
 
2533
2542
  /**
2534
- * Shape-matched loading placeholder for a chat-streamed widget. Resolves the
2543
+ * Shape-matched loading placeholder for a chat-streamed widget. When the
2544
+ * `organism` for this tag is already loaded (many chat widgets are
2545
+ * per-organization custom compositions, not fixed library components), its
2546
+ * real structure is read directly for the shape/size. Otherwise resolves the
2535
2547
  * fence `tag` (available the instant the fence header streams in, before the
2536
- * JSON body finishes) straight to a skeleton category, so the placeholder's
2537
- * size/shape roughly matches the real component and swapping in the real
2538
- * widget doesn't visibly "pop". Unrecognized tags fall back to the generic
2539
- * card shape rather than a blank state.
2548
+ * JSON body finishes) to a curated category + height for that component.
2549
+ * Either way, an unrecognized/not-yet-loaded case falls back to the generic
2550
+ * card shape at a category-average height rather than a blank state. Width
2551
+ * isn't tracked every chat surface renders widgets at full column width,
2552
+ * so only height varies meaningfully.
2540
2553
  */
2541
2554
  declare const ChatSkeleton: React__default.FC<ChatSkeletonProps>;
2542
2555
 
@@ -3880,6 +3893,8 @@ interface ReportTheme {
3880
3893
  /** One planned section in a report outline (content only, no styling). */
3881
3894
  interface ReportOutlineSection {
3882
3895
  heading?: string;
3896
+ /** One-line description of what this section covers (DEV-286). */
3897
+ sub_heading?: string;
3883
3898
  body?: string;
3884
3899
  takeaway?: string;
3885
3900
  /** Informational review flag (DEV-194) — never gates Approve & Build. */