@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.
28 lines (25 loc) • 577 B
TypeScript
export type Karma =
| "success"
| "danger"
| "warning"
| "primary"
| "secondary"
| "info"
/** Use `--hb--dashboard-indicator-background` on the host instead of Bulma `karma` tokens. */
| "none";
export type Component = {
id?: string;
style?: string;
number?: number;
text?: string;
icon?: string;
link_label?: string;
/**
* Semantic accent from Bulma (`secondary` → `dark` tokens), or `none` for a custom host color via
* `--hb--dashboard-indicator-background`.
*/
karma?: Karma;
};
export type Events = {
dashboardIndicatorClick: { id: string };
};