🩹 (js) Move data-blockid to the right element
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/js",
|
"name": "@typebot.io/js",
|
||||||
"version": "0.0.29",
|
"version": "0.0.30",
|
||||||
"description": "Javascript library to display typebots on your website",
|
"description": "Javascript library to display typebots on your website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export const ChatChunk = (props: Props) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="flex w-full">
|
<div class="flex w-full">
|
||||||
<div class="flex flex-col w-full min-w-0" data-blockid={props.input?.id}>
|
<div class="flex flex-col w-full min-w-0">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<Show
|
<Show
|
||||||
when={
|
when={
|
||||||
|
|||||||
@@ -66,7 +66,10 @@ export const InputChatBlock = (props: Props) => {
|
|||||||
)}
|
)}
|
||||||
</Match>
|
</Match>
|
||||||
<Match when={isNotDefined(answer())}>
|
<Match when={isNotDefined(answer())}>
|
||||||
<div class="flex justify-end animate-fade-in">
|
<div
|
||||||
|
class="flex justify-end animate-fade-in"
|
||||||
|
data-blockid={props.block.id}
|
||||||
|
>
|
||||||
{props.hasHostAvatar && (
|
{props.hasHostAvatar && (
|
||||||
<div
|
<div
|
||||||
class={
|
class={
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/react",
|
"name": "@typebot.io/react",
|
||||||
"version": "0.0.29",
|
"version": "0.0.30",
|
||||||
"description": "React library to display typebots on your website",
|
"description": "React library to display typebots on your website",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user