@founderhq/journeys 0.3.65 → 0.3.66

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
@@ -383,7 +383,10 @@ type CarouselBlockProps = {
383
383
  className?: string;
384
384
  };
385
385
  type ChecklistItem = {
386
- text: string;
386
+ text?: string;
387
+ segments?: TextSegment[];
388
+ textColor?: string;
389
+ lineHeight?: string | number;
387
390
  checked?: boolean;
388
391
  icon?: string;
389
392
  iconColor?: string;
@@ -448,6 +451,9 @@ type ChartLineEndDot = {
448
451
  icon?: string;
449
452
  lucideIcon?: string;
450
453
  lucideIconColor?: string;
454
+ imageSrc?: string;
455
+ imageAlt?: string;
456
+ imageScale?: number;
451
457
  color?: string;
452
458
  gradient?: {
453
459
  from: string;
@@ -478,7 +484,8 @@ type ChartLine = {
478
484
  type LineChartBlockProps = {
479
485
  lines: ChartLine[];
480
486
  width?: number | string;
481
- height?: number;
487
+ height?: number | string;
488
+ yLabelGutter?: number;
482
489
  yLabels?: {
483
490
  top?: string;
484
491
  bottom?: string;
@@ -610,6 +617,8 @@ type TimelineItem = {
610
617
  color?: string;
611
618
  /** Icon tint when rendered inside the badge. Defaults to white. */
612
619
  iconColor?: string;
620
+ /** Wrap this item's content column (content icon, title, description) in a card. */
621
+ contentCard?: boolean;
613
622
  /** Color of the outgoing line from this item down to the next. Ignored on the last item.
614
623
  * Falls back to block-level `lineColor`. */
615
624
  lineColor?: TimelineColor;
@@ -619,8 +628,8 @@ type TimelineItem = {
619
628
  type TimelineBlockProps = {
620
629
  items: TimelineItem[];
621
630
  /** Where the item icon renders. Default "node" (inside a filled badge).
622
- * "content" = above the title (old look). "none" = hide icon. */
623
- iconPlacement?: "node" | "content" | "none";
631
+ * "content" = above the title (old look). "before-title" = inline before title. "none" = hide icon. */
632
+ iconPlacement?: "node" | "content" | "before-title" | "none";
624
633
  /** Where the item label renders. Default "hidden" (title IS the time).
625
634
  * "above" = small uppercase label above title (old look). */
626
635
  labelPlacement?: "above" | "hidden";
package/dist/index.d.ts CHANGED
@@ -383,7 +383,10 @@ type CarouselBlockProps = {
383
383
  className?: string;
384
384
  };
385
385
  type ChecklistItem = {
386
- text: string;
386
+ text?: string;
387
+ segments?: TextSegment[];
388
+ textColor?: string;
389
+ lineHeight?: string | number;
387
390
  checked?: boolean;
388
391
  icon?: string;
389
392
  iconColor?: string;
@@ -448,6 +451,9 @@ type ChartLineEndDot = {
448
451
  icon?: string;
449
452
  lucideIcon?: string;
450
453
  lucideIconColor?: string;
454
+ imageSrc?: string;
455
+ imageAlt?: string;
456
+ imageScale?: number;
451
457
  color?: string;
452
458
  gradient?: {
453
459
  from: string;
@@ -478,7 +484,8 @@ type ChartLine = {
478
484
  type LineChartBlockProps = {
479
485
  lines: ChartLine[];
480
486
  width?: number | string;
481
- height?: number;
487
+ height?: number | string;
488
+ yLabelGutter?: number;
482
489
  yLabels?: {
483
490
  top?: string;
484
491
  bottom?: string;
@@ -610,6 +617,8 @@ type TimelineItem = {
610
617
  color?: string;
611
618
  /** Icon tint when rendered inside the badge. Defaults to white. */
612
619
  iconColor?: string;
620
+ /** Wrap this item's content column (content icon, title, description) in a card. */
621
+ contentCard?: boolean;
613
622
  /** Color of the outgoing line from this item down to the next. Ignored on the last item.
614
623
  * Falls back to block-level `lineColor`. */
615
624
  lineColor?: TimelineColor;
@@ -619,8 +628,8 @@ type TimelineItem = {
619
628
  type TimelineBlockProps = {
620
629
  items: TimelineItem[];
621
630
  /** Where the item icon renders. Default "node" (inside a filled badge).
622
- * "content" = above the title (old look). "none" = hide icon. */
623
- iconPlacement?: "node" | "content" | "none";
631
+ * "content" = above the title (old look). "before-title" = inline before title. "none" = hide icon. */
632
+ iconPlacement?: "node" | "content" | "before-title" | "none";
624
633
  /** Where the item label renders. Default "hidden" (title IS the time).
625
634
  * "above" = small uppercase label above title (old look). */
626
635
  labelPlacement?: "above" | "hidden";