This commit is contained in:
dev.daminik00 2025-10-06 03:47:33 +02:00
parent c4ba2ff541
commit 59a66d24c5
5 changed files with 16 additions and 13 deletions

View File

@ -918,7 +918,7 @@
"color": "default" "color": "default"
}, },
"bottomActionButton": { "bottomActionButton": {
"show": true, "show": false,
"cornerRadius": "3xl", "cornerRadius": "3xl",
"showPrivacyTermsConsent": false "showPrivacyTermsConsent": false
}, },
@ -1394,7 +1394,7 @@
}, },
"icon": { "icon": {
"type": "image", "type": "image",
"value": "/images/d530695a-6847-4ef7-935b-a3f5b0f59791.svg", "value": "/images/e49915b8-6371-4235-8fd8-e04d5e431b00.png",
"size": "xl" "size": "xl"
}, },
"variables": [], "variables": [],

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -124,7 +124,7 @@ function SelectItem({
<SelectPrimitive.Item <SelectPrimitive.Item
data-slot="select-item" data-slot="select-item"
className={cn( className={cn(
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-2.5 pr-8 pl-2 text-base font-medium outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
className className
)} )}
{...props} {...props}

View File

@ -103,14 +103,17 @@ export const useDateInput = ({
[maxYear, yearsRange] [maxYear, yearsRange]
); );
const monthOptions = useMemo( const monthOptions = useMemo(() => {
() => const monthNames = [
Array.from({ length: 12 }, (_, i) => ({ "January", "February", "March", "April", "May", "June",
value: String(i + 1).padStart(2, "0"), "July", "August", "September", "October", "November", "December"
label: String(i + 1), ];
})),
[] return Array.from({ length: 12 }, (_, i) => ({
); value: String(i + 1).padStart(2, "0"),
label: monthNames[i],
}));
}, []);
const dayOptions = useMemo(() => { const dayOptions = useMemo(() => {
const daysInMonth = const daysInMonth =

View File

@ -926,7 +926,7 @@ export const BAKED_FUNNELS: Record<string, FunnelDefinition> = {
"color": "default" "color": "default"
}, },
"bottomActionButton": { "bottomActionButton": {
"show": true, "show": false,
"cornerRadius": "3xl", "cornerRadius": "3xl",
"showPrivacyTermsConsent": false "showPrivacyTermsConsent": false
}, },
@ -1402,7 +1402,7 @@ export const BAKED_FUNNELS: Record<string, FunnelDefinition> = {
}, },
"icon": { "icon": {
"type": "image", "type": "image",
"value": "/images/d530695a-6847-4ef7-935b-a3f5b0f59791.svg", "value": "/images/e49915b8-6371-4235-8fd8-e04d5e431b00.png",
"size": "xl" "size": "xl"
}, },
"variables": [], "variables": [],