🐛 (calCom) Fix weekly and column layouts restrained from max-width prop
This commit is contained in:
@ -153,7 +153,6 @@ export const executeForgedBlock = async (
|
||||
url: action.run.web.displayEmbedBubble.parseUrl({
|
||||
options: parsedOptions,
|
||||
}),
|
||||
maxBubbleWidth: action.run.web.displayEmbedBubble.maxBubbleWidth,
|
||||
initFunction: action.run.web.displayEmbedBubble.parseInitFunction({
|
||||
options: parsedOptions,
|
||||
}),
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.2.83",
|
||||
"version": "0.2.84",
|
||||
"description": "Javascript library to display typebots on your website",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
@ -60,14 +60,7 @@ export const CustomEmbedBubble = (props: Props) => {
|
||||
ref={ref}
|
||||
>
|
||||
<div class="flex w-full items-center">
|
||||
<div
|
||||
class="flex relative z-10 items-start typebot-host-bubble w-full"
|
||||
style={{
|
||||
'max-width': props.content.maxBubbleWidth
|
||||
? `${props.content.maxBubbleWidth}px`
|
||||
: '100%',
|
||||
}}
|
||||
>
|
||||
<div class="flex relative z-10 items-start typebot-host-bubble w-full max-w-full">
|
||||
<div
|
||||
class="flex items-center absolute px-4 py-2 bubble-typing z-10 "
|
||||
style={{
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/nextjs",
|
||||
"version": "0.2.83",
|
||||
"version": "0.2.84",
|
||||
"description": "Convenient library to display typebots on your Next.js website",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.2.83",
|
||||
"version": "0.2.84",
|
||||
"description": "Convenient library to display typebots on your React app",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -43,7 +43,6 @@ export const bookEvent = createAction({
|
||||
web: {
|
||||
displayEmbedBubble: {
|
||||
parseUrl: ({ options }) => options.link,
|
||||
maxBubbleWidth: 780,
|
||||
waitForEvent: {
|
||||
getSaveVariableId: ({ saveBookedDateInVariableId }) =>
|
||||
saveBookedDateInVariableId,
|
||||
|
@ -85,7 +85,6 @@ export type ActionDefinition<
|
||||
parseInitFunction: (params: {
|
||||
options: z.infer<BaseOptions> & z.infer<Options>
|
||||
}) => FunctionToExecute
|
||||
maxBubbleWidth?: number
|
||||
}
|
||||
parseFunction?: (params: {
|
||||
options: z.infer<BaseOptions> & z.infer<Options>
|
||||
|
@ -100,7 +100,6 @@ const embedMessageSchema = z
|
||||
|
||||
const displayEmbedBubbleSchema = z.object({
|
||||
url: z.string().optional(),
|
||||
maxBubbleWidth: z.number().optional(),
|
||||
waitForEventFunction: z
|
||||
.object({
|
||||
args: z.record(z.string(), z.unknown()),
|
||||
|
Reference in New Issue
Block a user