UNPKG

@buildshipapp/chat-widget

Version:

A chat widget that can be paired with BuildShip workflows built using the Assistant API.

2 lines (1 loc) 1.9 kB
export declare const widgetHTML = "<div id=\"buildship-chat-widget__header\"><div id=\"buildship-chat-widget__title\"><svg id=\"buildship-chat-widget__title_icon\" width=\"24\" height=\"19\" viewBox=\"0 0 24 19\"><path d=\"M9 6C9.55229 6 10 6.44772 10 7V9C10 9.55228 9.55229 10 9 10C8.44771 10 8 9.55228 8 9V7C8 6.44772 8.44771 6 9 6Z\"/><path d=\"M16 7C16 6.44772 15.5523 6 15 6C14.4477 6 14 6.44772 14 7V9C14 9.55228 14.4477 10 15 10C15.5523 10 16 9.55228 16 9V7Z\"/><path d=\"M19.2099 16C19.0086 16 18.815 16.0768 18.6684 16.2147L16.4858 18.269C15.2525 19.4298 13.2248 18.6278 13.1191 16.9374C13.0862 16.4105 12.6493 16 12.1213 16H5C3.34315 16 2 14.6569 2 13V9C2 9.55228 1.55228 10 1 10C0.447715 10 0 9.55228 0 9V6C0 5.44772 0.447715 5 1 5C1.55228 5 2 5.44772 2 6V3C2 1.34315 3.34315 0 5 0H19C20.6569 0 22 1.34315 22 3V6C22 5.44772 22.4477 5 23 5C23.5523 5 24 5.44772 24 6V9C24 9.55228 23.5523 10 23 10C22.4477 10 22 9.55228 22 9V13.2099C22 14.7508 20.7508 16 19.2099 16ZM5 2C4.44772 2 4 2.44772 4 3V13C4 13.5523 4.44772 14 5 14H12.1213C13.7053 14 15.0163 15.2315 15.1152 16.8124L17.2977 14.7583C17.8152 14.2712 18.4992 14 19.2099 14C19.6463 14 20 13.6463 20 13.2099V3C20 2.44772 19.5523 2 19 2H5Z\"/></svg></div><div><a id=\"buildship-chat-widget__branding\" href=\"https://buildship.com\" target=\"_blank\">Powered by&nbsp;<span>BuildShip</span></a></div></div><div id=\"buildship-chat-widget__body\"><form id=\"buildship-chat-widget__form\"><input autocomplete=\"off\" id=\"buildship-chat-widget__input\" name=\"message\" type=\"text\" placeholder=\"Ask me a question\u2026\" required aria-label=\"Message\"><button id=\"buildship-chat-widget__submit\" type=\"submit\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 16 14\" fill=\"none\"><path d=\"M1 7L15 7M15 7L9 13M15 7L9 1\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg></button></form></div>";