UNPKG

@htmlbricks/hb-bundle

Version:

Single IIFE loader for all HTML Bricks hb-* web components from the jsDelivr CDN, with optional Subresource Integrity; includes agent/LLM docs and theme CSS variables.

29 lines (23 loc) 683 B
import type { FormSchemaEntryShared } from "../form/webcomponent.type"; /** Optional string length bounds (see component validation logic). */ export type InputEmailParams = { min?: number; max?: number; }; export type FormSchemaEntry = Omit<FormSchemaEntryShared, "params"> & { /** * Optional default value. */ value?: string | number | boolean; params?: InputEmailParams; }; export type Component = { id?: string; style?: string; show_validation?: "yes" | "no"; schemaentry: FormSchemaEntry | undefined; }; export type Events = { setVal: { value: string; valid: boolean; id: string }; clickEnter: { value: string; valid: boolean; id?: string }; };