/** Solid components over the elements. */ import { type Component, type JSX } from "solid-js"; import type { DefineOptions, ElementEvents, ElementProps, ElementSlotProp } from "../elements/index.js"; import { type ComponentSpec, type DeclarationSpec, type DefaultProps, type FormProps, type Pascal, type RetiredEvents } from "../elements/adapter.js"; export { configure } from "../elements/adapter.js"; export type { DefaultProps, FormProps } from "../elements/adapter.js"; /** `change` → `onChange`, typed with the element's event. */ export type EventProps = { [K in keyof ElementEvents & string as `on${Pascal}`]?: (event: ElementEvents[K]) => void; }; type BaseProps = ElementProps & DefaultProps & FormProps & EventProps; /** Each named slot as a prop taking JSX (`actions={