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.

27 lines (24 loc) 603 B
import type { IShoppingPayment, IShopItem, } from "../checkout-shopping-cart/webcomponent.type"; import type { IShipment, IUser, IGateway, IPayment, } from "../checkout/webcomponent.type"; export type Component = { id?: string; style?: string; shipments?: IShipment[] | string; user: IUser | string; payment?: (IShoppingPayment & IPayment) | string; gateways?: IGateway[] | string; completed?: "yes" | "no"; }; export type Events = { saveUser: IUser; // saveShipment: { action: "saveShipment" }; paymentCompleted: { total: number; method: string; completed: true }; };