dune-react 0.0.22 → 0.0.23

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.
Files changed (95) hide show
  1. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +13 -13
  2. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +8 -8
  3. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +8 -6
  4. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +3 -1
  5. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -1
  6. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
  7. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
  8. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +2 -2
  9. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +2 -2
  10. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -1
  11. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +4 -4
  12. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +1 -1
  13. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +2 -2
  14. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +1 -1
  15. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +1 -1
  16. package/dist/components/puck-block/feature-sections/tab-feature/component.js +3 -3
  17. package/dist/components/puck-block/feature-sections/text-media-split/component.js +1 -1
  18. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +72 -18
  19. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +79 -0
  20. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +43 -1
  21. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +41 -0
  22. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +4 -3
  23. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +86 -0
  24. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +1 -1
  25. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
  26. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +37 -0
  27. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +1 -1
  28. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +54 -0
  29. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +41 -0
  30. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +54 -0
  31. package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
  32. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
  33. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
  34. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +1 -1
  35. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +1 -1
  36. package/dist/components/puck-block/gallery-sections/props.d.ts +11 -1
  37. package/dist/components/puck-block/gallery-sections/props.js +7 -2
  38. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +18 -0
  39. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +25 -22
  40. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +11 -1
  41. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +3 -2
  42. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +4 -3
  43. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +5 -4
  44. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +4 -3
  45. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +3 -2
  46. package/dist/components/puck-block/header-sections/props.d.ts +3 -0
  47. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +3 -2
  48. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +3 -3
  49. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +8 -8
  50. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +6 -6
  51. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +1 -1
  52. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +26 -17
  53. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +3 -3
  54. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +60 -19
  55. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +2 -2
  56. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +3 -3
  57. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +18 -6
  58. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +9 -7
  59. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +7 -5
  60. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +5 -3
  61. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
  62. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +13 -5
  63. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
  64. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +2 -2
  65. package/dist/components/puck-block/hero-sections/tab-hero/component.js +4 -4
  66. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +3 -3
  67. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +6 -6
  68. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +14 -12
  69. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +1 -1
  70. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +1 -1
  71. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +2 -2
  72. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +1 -1
  73. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +3 -3
  74. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +47 -0
  75. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +34 -0
  76. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +3 -3
  77. package/dist/components/puck-block/registry.generated.d.ts +273 -6
  78. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +1 -1
  79. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
  80. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +2 -2
  81. package/dist/components/puck-block/text-sections/prose-content/component.js +1 -1
  82. package/dist/components/puck-block/text-sections/side-media-content/component.js +1 -1
  83. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +3 -3
  84. package/dist/components/puck-core/core/props/media.js +6 -1
  85. package/dist/components/puck-core/fields/array-field.d.ts +7 -0
  86. package/dist/components/puck-core/fields/array-field.js +229 -0
  87. package/dist/components/puck-core/fields/auto-field.js +11 -0
  88. package/dist/components/puck-core/fields/image-upload-field.js +1 -1
  89. package/dist/components/puck-core/fields/index.d.ts +1 -0
  90. package/dist/components/puck-core/fields/object-field.js +1 -1
  91. package/dist/node_modules/.pnpm/@dnd-kit_accessibility@3.1.1_react@19.2.4/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +59 -0
  92. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@dnd-kit/core/dist/core.esm.js +3093 -0
  93. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4__react@19.2.4/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +592 -0
  94. package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.4/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +301 -0
  95. package/package.json +4 -1
@@ -23,6 +23,40 @@ const conf = {
23
23
  title: { type: "text" }
24
24
  }
25
25
  },
26
+ defaultTabValue: {
27
+ type: "radio",
28
+ label: "Default Tab",
29
+ options: [
30
+ { label: "Monthly", value: "monthly" },
31
+ { label: "Yearly", value: "yearly" }
32
+ ]
33
+ },
34
+ tabs: {
35
+ type: "array",
36
+ label: "Tabs",
37
+ getItemSummary: (item, index = 0) => item.tabName || `Tab ${index + 1}`,
38
+ arrayFields: {
39
+ value: {
40
+ type: "radio",
41
+ label: "Billing",
42
+ options: [
43
+ { label: "Monthly", value: "monthly" },
44
+ { label: "Yearly", value: "yearly" }
45
+ ]
46
+ },
47
+ tabName: { type: "text", label: "Tab Name" },
48
+ pricingPlans: {
49
+ type: "array",
50
+ label: "Pricing Plans",
51
+ getItemSummary: (item, index = 0) => item.planName || `Plan ${index + 1}`,
52
+ arrayFields: {
53
+ planName: { type: "text" },
54
+ monthlyPrice: { type: "text" },
55
+ description: { type: "textarea" }
56
+ }
57
+ }
58
+ }
59
+ },
26
60
  styles: {
27
61
  type: "object",
28
62
  label: "Styles",
@@ -53,17 +53,17 @@ const SplitPricingDefaults = {
53
53
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
54
54
  featureSections: [
55
55
  {
56
- icon: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-icon.svg", alt: "Relume logo 1" },
56
+ icon: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo 1" },
57
57
  heading: "Key feature heading",
58
58
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique."
59
59
  },
60
60
  {
61
- icon: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-icon.svg", alt: "Relume logo 2" },
61
+ icon: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo 2" },
62
62
  heading: "Key feature heading",
63
63
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique."
64
64
  },
65
65
  {
66
- icon: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-icon.svg", alt: "Relume logo 3" },
66
+ icon: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo 3" },
67
67
  heading: "Key feature heading",
68
68
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique."
69
69
  }
@@ -3631,9 +3631,88 @@ declare const confMap: {
3631
3631
  };
3632
3632
  };
3633
3633
  };
3634
+ columnLinks: {
3635
+ type: string;
3636
+ label: string;
3637
+ getItemSummary: (_item: unknown, index?: number) => string;
3638
+ defaultItemProps: {
3639
+ links: {
3640
+ title: string;
3641
+ url: string;
3642
+ }[];
3643
+ };
3644
+ arrayFields: {
3645
+ links: {
3646
+ type: string;
3647
+ label: string;
3648
+ getItemSummary: (item: {
3649
+ title?: string;
3650
+ }, index?: number) => string;
3651
+ defaultItemProps: {
3652
+ title: string;
3653
+ url: string;
3654
+ };
3655
+ arrayFields: {
3656
+ title: {
3657
+ type: string;
3658
+ label: string;
3659
+ };
3660
+ url: {
3661
+ type: string;
3662
+ label: string;
3663
+ };
3664
+ };
3665
+ };
3666
+ };
3667
+ };
3634
3668
  footerText: {
3635
3669
  type: string;
3636
3670
  };
3671
+ footerLinks: {
3672
+ type: string;
3673
+ label: string;
3674
+ getItemSummary: (item: {
3675
+ title?: string;
3676
+ }, index?: number) => string;
3677
+ arrayFields: {
3678
+ title: {
3679
+ type: string;
3680
+ label: string;
3681
+ };
3682
+ url: {
3683
+ type: string;
3684
+ label: string;
3685
+ };
3686
+ };
3687
+ };
3688
+ styles: {
3689
+ type: string;
3690
+ label: string;
3691
+ objectFields: {
3692
+ className: {
3693
+ readonly type: "text";
3694
+ readonly label: "Class Name";
3695
+ readonly ai: {
3696
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
3697
+ };
3698
+ };
3699
+ style: {
3700
+ readonly type: "object";
3701
+ readonly label: "Style";
3702
+ readonly objectFields: {};
3703
+ readonly ai: {
3704
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
3705
+ };
3706
+ };
3707
+ css: {
3708
+ readonly type: "textarea";
3709
+ readonly label: "Custom CSS";
3710
+ readonly ai: {
3711
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
3712
+ };
3713
+ };
3714
+ };
3715
+ };
3637
3716
  };
3638
3717
  defaultProps: import("./footer-sections/props").FooterSectionBaseProps;
3639
3718
  render: (props: import("./footer-sections/centered-minimal-footer").CenteredMinimalFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -3649,6 +3728,92 @@ declare const confMap: {
3649
3728
  };
3650
3729
  };
3651
3730
  };
3731
+ address: {
3732
+ type: string;
3733
+ label: string;
3734
+ objectFields: {
3735
+ label: {
3736
+ type: string;
3737
+ label: string;
3738
+ };
3739
+ value: {
3740
+ type: string;
3741
+ label: string;
3742
+ };
3743
+ };
3744
+ };
3745
+ columnLinks: {
3746
+ type: string;
3747
+ label: string;
3748
+ getItemSummary: (_item: unknown, index?: number) => string;
3749
+ arrayFields: {
3750
+ links: {
3751
+ type: string;
3752
+ label: string;
3753
+ getItemSummary: (item: {
3754
+ title?: string;
3755
+ }, index?: number) => string;
3756
+ arrayFields: {
3757
+ title: {
3758
+ type: string;
3759
+ label: string;
3760
+ };
3761
+ url: {
3762
+ type: string;
3763
+ label: string;
3764
+ };
3765
+ };
3766
+ };
3767
+ };
3768
+ };
3769
+ contact: {
3770
+ type: string;
3771
+ label: string;
3772
+ objectFields: {
3773
+ label: {
3774
+ type: string;
3775
+ label: string;
3776
+ };
3777
+ phone: {
3778
+ type: string;
3779
+ label: string;
3780
+ };
3781
+ email: {
3782
+ type: string;
3783
+ label: string;
3784
+ };
3785
+ };
3786
+ };
3787
+ footerLinks: {
3788
+ type: string;
3789
+ label: string;
3790
+ getItemSummary: (item: {
3791
+ title?: string;
3792
+ }, index?: number) => string;
3793
+ arrayFields: {
3794
+ title: {
3795
+ type: string;
3796
+ label: string;
3797
+ };
3798
+ url: {
3799
+ type: string;
3800
+ label: string;
3801
+ };
3802
+ };
3803
+ };
3804
+ socialMediaLinks: {
3805
+ type: string;
3806
+ label: string;
3807
+ getItemSummary: (item: {
3808
+ url?: string;
3809
+ }, index?: number) => string;
3810
+ arrayFields: {
3811
+ url: {
3812
+ type: string;
3813
+ label: string;
3814
+ };
3815
+ };
3816
+ };
3652
3817
  footerText: {
3653
3818
  type: string;
3654
3819
  };
@@ -3804,6 +3969,43 @@ declare const confMap: {
3804
3969
  readonly instructions: "Buttons must use the same size";
3805
3970
  };
3806
3971
  };
3972
+ columnLinks: {
3973
+ type: string;
3974
+ label: string;
3975
+ getItemSummary: (_item: unknown, index?: number) => string;
3976
+ arrayFields: {
3977
+ links: {
3978
+ type: string;
3979
+ label: string;
3980
+ getItemSummary: (item: {
3981
+ title?: string;
3982
+ }, index?: number) => string;
3983
+ arrayFields: {
3984
+ title: {
3985
+ type: string;
3986
+ label: string;
3987
+ };
3988
+ url: {
3989
+ type: string;
3990
+ label: string;
3991
+ };
3992
+ };
3993
+ };
3994
+ };
3995
+ };
3996
+ socialMediaLinks: {
3997
+ type: string;
3998
+ label: string;
3999
+ getItemSummary: (item: {
4000
+ url?: string;
4001
+ }, index?: number) => string;
4002
+ arrayFields: {
4003
+ url: {
4004
+ type: string;
4005
+ label: string;
4006
+ };
4007
+ };
4008
+ };
3807
4009
  footerText: {
3808
4010
  type: string;
3809
4011
  };
@@ -4899,8 +5101,18 @@ declare const confMap: {
4899
5101
  };
4900
5102
  };
4901
5103
  slideBasis: {
4902
- readonly type: "text";
5104
+ readonly type: "select";
4903
5105
  readonly label: "Slide Basis";
5106
+ readonly options: readonly [{
5107
+ readonly label: "4/5";
5108
+ readonly value: "4/5";
5109
+ }, {
5110
+ readonly label: "45%";
5111
+ readonly value: "45%";
5112
+ }, {
5113
+ readonly label: "30%";
5114
+ readonly value: "30%";
5115
+ }];
4904
5116
  };
4905
5117
  };
4906
5118
  };
@@ -7686,14 +7898,22 @@ declare const confMap: {
7686
7898
  readonly instructions: "Buttons must use the same size";
7687
7899
  };
7688
7900
  };
7689
- image: {
7690
- type: "object";
7691
- objectFields: {
7692
- src: import("@puckeditor/core").Field<string>;
7693
- alt: {
7901
+ images: {
7902
+ readonly type: "array";
7903
+ readonly max: 10;
7904
+ readonly getItemSummary: (item: {
7905
+ alt?: string;
7906
+ }, index?: number) => string;
7907
+ readonly arrayFields: {
7908
+ readonly src: import("@puckeditor/core").Field<string>;
7909
+ readonly alt: {
7694
7910
  type: "text";
7695
7911
  };
7696
7912
  };
7913
+ readonly defaultItemProps: {
7914
+ alt: string;
7915
+ src: string;
7916
+ };
7697
7917
  };
7698
7918
  };
7699
7919
  defaultProps: import("./hero-sections/sticky-expand-hero").StickyExpandHeroProps;
@@ -9237,6 +9457,53 @@ declare const confMap: {
9237
9457
  };
9238
9458
  };
9239
9459
  };
9460
+ defaultTabValue: {
9461
+ type: "radio";
9462
+ label: string;
9463
+ options: {
9464
+ label: string;
9465
+ value: string;
9466
+ }[];
9467
+ };
9468
+ tabs: {
9469
+ type: "array";
9470
+ label: string;
9471
+ getItemSummary: (item: {
9472
+ tabName?: string;
9473
+ }, index?: number) => string;
9474
+ arrayFields: {
9475
+ value: {
9476
+ type: "radio";
9477
+ label: string;
9478
+ options: {
9479
+ label: string;
9480
+ value: string;
9481
+ }[];
9482
+ };
9483
+ tabName: {
9484
+ type: "text";
9485
+ label: string;
9486
+ };
9487
+ pricingPlans: {
9488
+ type: "array";
9489
+ label: string;
9490
+ getItemSummary: (item: {
9491
+ planName?: string;
9492
+ }, index?: number) => string;
9493
+ arrayFields: {
9494
+ planName: {
9495
+ type: "text";
9496
+ };
9497
+ monthlyPrice: {
9498
+ type: "text";
9499
+ };
9500
+ description: {
9501
+ type: "textarea";
9502
+ };
9503
+ };
9504
+ };
9505
+ };
9506
+ };
9240
9507
  styles: {
9241
9508
  type: string;
9242
9509
  label: string;
@@ -120,7 +120,7 @@ const defaultTab = (value, index) => ({
120
120
  buttons: [{ label: "Button", variant: "secondary" }, { label: "Button", variant: "link" }],
121
121
  image: {
122
122
  src: `https://picsum.photos/seed/tab-timeline${index}/800/600`,
123
- alt: `Relume placeholder image ${index + 1}`
123
+ alt: `Placeholder image ${index + 1}`
124
124
  }
125
125
  }
126
126
  });
@@ -110,7 +110,7 @@ const BentoTestimonialDefaults = {
110
110
  },
111
111
  {
112
112
  component: "logo",
113
- props: { logo: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo 1" } }
113
+ props: { logo: { src: "https://d22po4pjz3o32e.cloudfront.net/logo-1.svg", alt: "Logo 1" } }
114
114
  },
115
115
  {
116
116
  component: "quote",
@@ -137,7 +137,7 @@ const BentoTestimonialDefaults = {
137
137
  },
138
138
  {
139
139
  component: "logo",
140
- props: { logo: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo 2" } }
140
+ props: { logo: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo 2" } }
141
141
  },
142
142
  {
143
143
  component: "background",
@@ -93,9 +93,9 @@ const TabTestimonialDefaults = {
93
93
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
94
94
  tabs: [
95
95
  { ...tab, value: "tab-1" },
96
- { ...tab, value: "tab-2", trigger: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo" } },
96
+ { ...tab, value: "tab-2", trigger: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo" } },
97
97
  { ...tab, value: "tab-3" },
98
- { ...tab, value: "tab-4", trigger: { src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo" } }
98
+ { ...tab, value: "tab-4", trigger: { src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo" } }
99
99
  ],
100
100
  styles: {
101
101
  hasImage: false
@@ -81,7 +81,7 @@ const ProseContentDefaults = {
81
81
  ],
82
82
  mediaImage: {
83
83
  src: "https://picsum.photos/seed/prose-media/1200/600",
84
- alt: "Relume placeholder image"
84
+ alt: "Placeholder image"
85
85
  },
86
86
  video: "https://www.youtube.com/embed/8DKLYsikxTs?si=Ch9W0KrDWWUiCMMW",
87
87
  styles: {
@@ -71,7 +71,7 @@ const SideMediaContentDefaults = {
71
71
  prose: `<p>Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.</p><p>Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus. Etiam egestas in nec sed et. Quis lobortis at sit dictum eget nibh tortor commodo cursus.</p>`,
72
72
  image: {
73
73
  src: "https://picsum.photos/seed/side-media/800/600",
74
- alt: "Relume placeholder image"
74
+ alt: "Placeholder image"
75
75
  },
76
76
  video: "https://www.youtube.com/embed/8DKLYsikxTs?si=Ch9W0KrDWWUiCMMW",
77
77
  styles: {
@@ -35,9 +35,9 @@ const StickyTextMultiImageDefaults = {
35
35
  heading: "Short heading goes here",
36
36
  prose: `<p>Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.</p><p>Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus.</p>`,
37
37
  images: [
38
- { src: "https://picsum.photos/seed/sticky-img1/800/600", alt: "Relume placeholder image 1" },
39
- { src: "https://picsum.photos/seed/sticky-img2/800/600", alt: "Relume placeholder image 2" },
40
- { src: "https://picsum.photos/seed/sticky-img3/800/600", alt: "Relume placeholder image 3" }
38
+ { src: "https://picsum.photos/seed/sticky-img1/800/600", alt: "Placeholder image 1" },
39
+ { src: "https://picsum.photos/seed/sticky-img2/800/600", alt: "Placeholder image 2" },
40
+ { src: "https://picsum.photos/seed/sticky-img3/800/600", alt: "Placeholder image 3" }
41
41
  ],
42
42
  styles: {
43
43
  contentPosition: "left"
@@ -1,7 +1,12 @@
1
+ import { ImageUploadField } from "../../fields/image-upload-field.js";
1
2
  const imageField = {
2
3
  type: "object",
3
4
  objectFields: {
4
- src: { type: "image", label: "Image" },
5
+ src: {
6
+ type: "custom",
7
+ label: "Image",
8
+ render: ImageUploadField
9
+ },
5
10
  alt: { type: "text" }
6
11
  }
7
12
  };
@@ -0,0 +1,7 @@
1
+ import type { FieldDef } from "./types";
2
+ export declare const ArrayField: import("react").NamedExoticComponent<{
3
+ field: FieldDef;
4
+ name: string;
5
+ value: any;
6
+ onChange: (value: any) => void;
7
+ }>;