2
0

(embed) Customizable preview message close button

This commit is contained in:
Baptiste Arnaud
2023-08-11 14:49:20 +02:00
parent e9fac29886
commit 6786db80ee
4 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.1.16",
"version": "0.1.17",
"description": "Javascript library to display typebots on your website",
"type": "module",
"main": "dist/index.js",

View File

@ -66,6 +66,7 @@ const CloseButton = (props: {
onClick: () => void
}) => (
<button
part="preview-message-close-button"
class={
`absolute -top-2 -right-2 rounded-full w-6 h-6 p-1 hover:brightness-95 active:brightness-90 transition-all border ` +
(props.isHovered ? 'opacity-100' : 'opacity-0')

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/nextjs",
"version": "0.1.16",
"version": "0.1.17",
"description": "Convenient library to display typebots on your Next.js website",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/react",
"version": "0.1.16",
"version": "0.1.17",
"description": "Convenient library to display typebots on your Next.js website",
"main": "dist/index.js",
"types": "dist/index.d.ts",