@@ -50,6 +50,12 @@ export enum EmbeddedFlowComponentType {
5050 /** Email input field with validation for email addresses. */
5151 EmailInput = 'EMAIL_INPUT' ,
5252
53+ /** Icon display component for rendering named vector icons */
54+ Icon = 'ICON' ,
55+
56+ /** Image display component for logos and illustrations */
57+ Image = 'IMAGE' ,
58+
5359 /** One-time password input field for multi-factor authentication */
5460 OtpInput = 'OTP_INPUT' ,
5561
@@ -59,9 +65,15 @@ export enum EmbeddedFlowComponentType {
5965 /** Phone number input field with country code support */
6066 PhoneInput = 'PHONE_INPUT' ,
6167
68+ /** Rich text display component that renders formatted HTML content */
69+ RichText = 'RICH_TEXT' ,
70+
6271 /** Select/dropdown input component for single choice selection */
6372 Select = 'SELECT' ,
6473
74+ /** Stack layout component for arranging children in a row or column */
75+ Stack = 'STACK' ,
76+
6577 /** Text display component for labels, headings, and messages */
6678 Text = 'TEXT' ,
6779
@@ -199,27 +211,78 @@ export enum EmbeddedFlowEventType {
199211 */
200212export interface EmbeddedFlowComponent {
201213 /**
202- * Nested child components for container components like Block.
214+ * Alignment of children along the cross axis (for Stack components).
215+ */
216+ align ?: string ;
217+
218+ /**
219+ * Alternative text for Image components.
220+ */
221+ alt ?: string ;
222+
223+ /**
224+ * Icon color, CSS color value (for Icon components).
225+ */
226+ color ?: string ;
227+
228+ /**
229+ * Nested child components for container components like Block and Stack.
203230 */
204231 components ?: EmbeddedFlowComponent [ ] ;
205232
233+ /**
234+ * Layout direction for Stack components ('row' | 'column').
235+ */
236+ direction ?: string ;
237+
238+ /**
239+ * Icon to render at the end of an Action button (URL string).
240+ */
241+ endIcon ?: string ;
242+
206243 /**
207244 * Event type for action components that defines the interaction behavior.
208245 * Only relevant for Action components.
209246 */
210247 eventType ?: EmbeddedFlowEventType | string ;
211248
249+ /**
250+ * Gap between children in Stack components (number, maps to spacing units).
251+ */
252+ gap ?: number ;
253+
254+ /**
255+ * Height of the component (for Image components, can be string with units or number for pixels).
256+ * The value depends on the component type (e.g., for Image components).
257+ */
258+ height ?: string | number ;
259+
212260 /**
213261 * Unique identifier for the component
214262 */
215263 id : string ;
216264
265+ /**
266+ * Number of items across the main axis (for Stack grid-like layouts).
267+ */
268+ items ?: string | number ;
269+
270+ /**
271+ * Justification of children along the main axis (for Stack components).
272+ */
273+ justify ?: string ;
274+
217275 /**
218276 * Display label for the component (e.g., field label, button text).
219277 * Supports internationalization and may contain template strings.
220278 */
221279 label ?: string ;
222280
281+ /**
282+ * Icon name for Icon components (e.g., lucide-react icon names like 'ArrowLeftRight').
283+ */
284+ name ?: string ;
285+
223286 /**
224287 * Options for SELECT components.
225288 * Each option can be a string value or an object with value and label.
@@ -243,6 +306,21 @@ export interface EmbeddedFlowComponent {
243306 */
244307 required ?: boolean ;
245308
309+ /**
310+ * Icon size in pixels (for Icon components).
311+ */
312+ size ?: number ;
313+
314+ /**
315+ * Image source URL (for Image components).
316+ */
317+ src ?: string ;
318+
319+ /**
320+ * Icon to render at the start of an Action button (URL string).
321+ */
322+ startIcon ?: string ;
323+
246324 /**
247325 * Component type that determines rendering behavior
248326 */
@@ -253,6 +331,12 @@ export interface EmbeddedFlowComponent {
253331 * The value depends on the component type (e.g., button variants, text variants).
254332 */
255333 variant ?: EmbeddedFlowActionVariant | EmbeddedFlowTextVariant | string ;
334+
335+ /**
336+ * Width of the component (for Image components, can be string with units or number for pixels).
337+ * The value depends on the component type (e.g., for Image components).
338+ */
339+ width ?: string | number ;
256340}
257341
258342/**
0 commit comments