updateData(image)} />
updateData({ content })} />
{:else if block.type === 'timeline'}
{#each block.data.items || [] as item, i}
updateArray('items', i, { title: e.currentTarget.value })} />
{/each}
{:else if block.type === 'hero'}
{:else if block.type === 'button'}
{:else if block.type === 'spacer'}
{:else if block.type === 'testimonials'}
{:else if block.type === 'upcoming_calendar'}
Category filters
Choose categories to show in this block. Leave all unchecked to show every published event.
{#if eventCategories?.length}
{#each eventCategories as category}
{/each}
{:else}
No event categories exist yet. Create events in the Calendar admin page first.
{/if}
{:else if block.type === 'shop'}
{:else if block.type === 'checkout'}
{/if}
updateData({ _background: { ...(block.data._background || {}), type: v } })}
/>
{#if block.data._background?.type === 'color'}
{/if}
{#if block.data._background?.type === 'image'}
updateData({ _background: { ...(block.data._background || {}), imageUrl: image.url, imageAlt: image.alt } })} />
updateData({ _background: { ...(block.data._background || {}), attachment: v } })}
/>
updateData({ _background: { ...(block.data._background || {}), overlay: true, overlayOpacity: v } })}
formatLabel={(v) => `${v}%`}
/>
{/if}
updateData({ _foreground: { ...(block.data._foreground || {}), mode: v } })}
/>
{#if block.data._foreground?.mode === 'custom'}
{/if}