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 (26 loc) 724 B
import type { Component as FormComponent, Events as FormEvents, } from "../form/webcomponent.type"; export type Component = { id?: string; style?: string; show?: "yes" | "no"; dialogclasses?: string; title?: string; backdrop?: boolean; keyboard?: boolean; describedby?: string; labelledby?: string; content?: string; closelabel?: string; confirmlabel?: string; schema?: FormComponent["schema"]; }; export type Events = { modalFormConfirm: { [key: string]: any }; modalShow: { id: string; show: boolean }; modalFormCancel: { id: string; error?: string }; /** Emitted when the inner `hb-form` updates (same detail shape as `hb-form` `update`). */ updateForm: FormEvents["update"]; };