@cimulate/copilot-widget 1.24.0 → 1.24.1

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.
@@ -104,12 +104,13 @@ declare interface CommonParams {
104
104
  /**
105
105
  * One flat map from override key to custom-element tag name.
106
106
  *
107
- * `ProductTile` and `ProductCarousel` are the only keys the widget consults for
108
- * its built-in product UI: register one and the widget mounts your element in
109
- * place of the default tile/carousel (leave it unset and the built-in renders).
110
- * Every other key is matched against a `type:"tool_results"` block's top-level
111
- * `output_name` (never a field inside the arbitrary `data` payload); an unmatched
112
- * block renders nothing. All of them receive the same `OverrideProps`.
107
+ * `ProductTile`, `ProductCarousel`, and `ProgressSteps` are the named keys the
108
+ * widget consults for its built-in UI: register one and the widget mounts your
109
+ * element in place of the default tile/carousel/progress panel (leave it unset
110
+ * and the built-in renders). Every other key is matched against a
111
+ * `type:"tool_results"` block's top-level `output_name` (never a field inside
112
+ * the arbitrary `data` payload); an unmatched block renders nothing. All of them
113
+ * receive the same `OverrideProps`.
113
114
  *
114
115
  * { ProductTile: "cx-product-card", recentOrders: "cx-recent-orders" }
115
116
  *
@@ -120,6 +121,7 @@ declare interface CommonParams {
120
121
  declare interface ComponentOverrides {
121
122
  ProductTile?: OverrideTagName;
122
123
  ProductCarousel?: OverrideTagName;
124
+ ProgressSteps?: OverrideTagName;
123
125
  [key: string]: OverrideTagName | undefined;
124
126
  }
125
127
 
@@ -176,12 +176,13 @@ declare type ComparisonTableRow = {
176
176
  /**
177
177
  * One flat map from override key to custom-element tag name.
178
178
  *
179
- * `ProductTile` and `ProductCarousel` are the only keys the widget consults for
180
- * its built-in product UI: register one and the widget mounts your element in
181
- * place of the default tile/carousel (leave it unset and the built-in renders).
182
- * Every other key is matched against a `type:"tool_results"` block's top-level
183
- * `output_name` (never a field inside the arbitrary `data` payload); an unmatched
184
- * block renders nothing. All of them receive the same `OverrideProps`.
179
+ * `ProductTile`, `ProductCarousel`, and `ProgressSteps` are the named keys the
180
+ * widget consults for its built-in UI: register one and the widget mounts your
181
+ * element in place of the default tile/carousel/progress panel (leave it unset
182
+ * and the built-in renders). Every other key is matched against a
183
+ * `type:"tool_results"` block's top-level `output_name` (never a field inside
184
+ * the arbitrary `data` payload); an unmatched block renders nothing. All of them
185
+ * receive the same `OverrideProps`.
185
186
  *
186
187
  * { ProductTile: "cx-product-card", recentOrders: "cx-recent-orders" }
187
188
  *
@@ -192,6 +193,7 @@ declare type ComparisonTableRow = {
192
193
  export declare interface ComponentOverrides {
193
194
  ProductTile?: OverrideTagName;
194
195
  ProductCarousel?: OverrideTagName;
196
+ ProgressSteps?: OverrideTagName;
195
197
  [key: string]: OverrideTagName | undefined;
196
198
  }
197
199
 
@@ -619,6 +621,9 @@ export declare class OverrideElement extends HTMLElement {
619
621
  * - "ProductTile" → one raw product ({ id, caption?, data: { name, price,
620
622
  * currencyCode, imageUrl, … }, customProperties? })
621
623
  * - "ProductCarousel" → { title?, products: RawProduct[] }
624
+ * - "ProgressSteps" → { steps: string[] } — one entry per progress-indicator
625
+ * message received so far, in order; the last entry is
626
+ * the current (active) step.
622
627
  * - any custom-block key → the `tool_results` block's raw `data`, your own shape
623
628
  */
624
629
  export declare interface OverrideProps {