Skip to content

Commit e1f7565

Browse files
committed
🚑️ Fix opacity-1 invalid className
1 parent 9778d32 commit e1f7565

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/embeds/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/js",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "Javascript library to display typebots on your website",
55
"license": "FSL-1.1-ALv2",
66
"type": "module",

packages/embeds/js/src/features/blocks/inputs/fileUpload/components/SelectedFile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const SelectedFile = (props: {
3232
</Switch>
3333

3434
<button
35-
class="absolute -right-2 p-0.5 -top-2 rounded-full bg-gray-200 text-black border border-gray-400 opacity-1 sm:opacity-0 group-hover:opacity-100 transition-opacity"
35+
class="absolute -right-2 p-0.5 -top-2 rounded-full bg-gray-200 text-black border border-gray-400 opacity-100 sm:opacity-0 group-hover:opacity-100 transition-opacity"
3636
on:click={props.onRemoveClick}
3737
aria-label="Remove attachment"
3838
>

packages/embeds/js/src/features/blocks/inputs/textInput/components/VoiceRecorder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const VoiceRecorder = (props: Props) => {
162162
class={cx(
163163
"w-full gap-2 items-center transition-opacity px-2 typebot-recorder",
164164
props.recordingStatus === "started"
165-
? "opacity-1 flex"
165+
? "opacity-100 flex"
166166
: "opacity-0 hidden",
167167
)}
168168
>

packages/embeds/js/src/features/bubble/components/Bubble.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export const Bubble = (props: BubbleProps) => {
302302
}}
303303
class={cx(
304304
"absolute rounded-lg max-h-[calc(100dvh-var(--container-bottom)-var(--button-gap)-var(--button-size))] shadow-lg bg-(--bot-bg-color) h-(--bot-max-height) max-w-(--bot-max-width) overflow-hidden",
305-
isOpen() ? "opacity-1" : "opacity-0 pointer-events-none",
305+
isOpen() ? "opacity-100" : "opacity-0 pointer-events-none",
306306
bubbleProps.theme?.placement === "left"
307307
? "sm:left-0 -left-5"
308308
: "sm:right-0 -right-5",

packages/embeds/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/react",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "Convenient library to display typebots on your React app",
55
"license": "FSL-1.1-ALv2",
66
"type": "module",

0 commit comments

Comments
 (0)