update from cdrl

This commit is contained in:
2026-07-15 11:20:47 -04:00
parent 0f9f42be5a
commit f1745b8a1b
8 changed files with 195 additions and 353 deletions

View File

@@ -1,4 +1,4 @@
import { createSignal, createEffect, Show, onMount, onCleanup, For } from "solid-js";
import { createSignal, createEffect, Show, onMount, onCleanup, For, JSX } from "solid-js";
import { Portal } from "solid-js/web";
import { Icon } from "./Icons.tsx";
import { FormInput } from "./Forms.tsx";
@@ -179,7 +179,10 @@ const DATE_PICKER_ICON_BTN = "absolute inset-y-0 right-0 z-[1] flex items-center
const DATE_PICKER_CLEAR_BTN = "absolute inset-y-0 right-8 z-[1] flex items-center justify-center bg-transparent border-0 px-1.5 cursor-pointer text-ink-muted leading-none hover:text-ink pointer-events-auto";
interface DatePickerProps {
value?: MaybeAccessor<string>;
id?: string;
name?: string;
value?: string;
oninput?: JSX.InputEventHandlerUnion<HTMLInputElement, InputEvent>;
onchange?: (value: string) => void;
placeholder?: string;
small?: boolean;